How to? " conflicts with wrap button

已查看 31 次
跳至第一个未读帖子

David Gifford

未读,
2021年7月13日 09:26:232021/7/13
收件人 TiddlyWiki

Hi everyone

I found a new obstacle to my quest to conquer the world!

I would like the wrap below to have double quotes at the end of the prefix and the beginning of the suffix, but it is mistaking it four four double quotes """". Howdo I work around this?

<$action-sendmessage
    $message="tm-edit-text-operation"
    $param="wrap-selection"
    prefix="""<$macrocall $name=det tid="""
    suffix="""/>"""
/>

PMario

未读,
2021年7月13日 10:45:532021/7/13
收件人 TiddlyWiki
Hi,

Try this:

<$action-sendmessage
    $message="tm-edit-text-operation"
    $param="wrap-selection"
    prefix='<$macrocall $name=det tid="""'
    suffix='"""/>'
/>

It's possible to cover the parameters in single quotes.

-mario

David Gifford

未读,
2021年7月13日 11:04:152021/7/13
收件人 tiddl...@googlegroups.com
Thanks Mario! I only needed " not """, so I deleted the extra "" on each and it works great!




--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/sgD_9ojYQow/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d0d0c404-5df6-41d0-8880-7df09dbef9abn%40googlegroups.com.
回复全部
回复作者
转发
0 个新帖子