How to? " conflicts with wrap button

31 views
Skip to first unread message

David Gifford

unread,
Jul 13, 2021, 9:26:23 AM7/13/21
to 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

unread,
Jul 13, 2021, 10:45:53 AM7/13/21
to 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

unread,
Jul 13, 2021, 11:04:15 AM7/13/21
to 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.
Reply all
Reply to author
Forward
0 new messages