Thanks a lot Mario and Saq, that's exactly what I needed to know. I don't 
intent to edit any of these fields, so I should be OK, but I'll have a 
think about whether it will be more sensible to use JSON. Thanks again.

On Sunday, 16 May 2021 at 15:12:19 UTC+1 PMario wrote:

> On Sunday, May 16, 2021 at 2:07:17 PM UTC+2 si wrote:
>
>> My question is more about whether this matters when copying content from 
>> the text of a tiddler into a different field.
>>
>
> The HTML spec says this:  https://html.spec.whatwg.org/#attributes ... 
> There is no restriction on the text, that can be put into a attribute 
> value. .. BUT it has to be HTML escaped. ... As your screenshot shows. 
>  
> BUT .. The problem is the TW UI. 
>
> If you copy text from the text-field with javascript into a field, you can 
> add whitespace to the field. If you use a text area, you can also add 
> whitespace eg: newLines. ... BUT if you edit a field in tiddler-edit-mode, 
> with the single-line editor, all the NewLines and other whitespace will be 
> removed. 
>
> So that's the real problem here.
>
> -mario
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e07924f9-b8a0-47af-893a-444ae454d36en%40googlegroups.com.

Reply via email to