Hi Cd.K. I think maybe you're running into the way that HTML coalesces adjacent whitespace by default. The process is actually controlled by CSS -- see the CSS white-space property:
https://developer.mozilla.org/en/docs/Web/CSS/white-space Generally, TW5 wikitext passes whitespace through to the browser's HTML parser. Best wishes Jeremy On Sunday, September 29, 2019 at 2:40:55 PM UTC+1, Cd.K wrote: > > Hello Jeremy Ruston > > >> Are you saying that the text for a tiddler that you are seeing in the >> HTML file doesn’t match the text you see within TW? >> >> > > No, I don't. It's not about a mistake. > > I just want to know where to set a breakpoint in the debugger to see the > original content of the tiddler's text field. > > Perhaps the following example with 10 spaces is clearer: > > number of blanks > between prefix > and suffix: 10 > prefix suffix > > Tiddler: > > [image: 29-09-_2019_15-21-34.png] > rendered with one blank between "prefix" and "suffix". > > Tiddler in draft mode: > > [image: 29-09-_2019_15-25-54.png] > You can see all 10 blanks between "prefix" and "suffix". > > How can I display these 10 spaces in the debugger? Which function or > method do I have to debug? > > What I'm actually interested in: Is there a function that returns the > original ("draft") content of the tiddler's text field for a given tiddler > title? Or which functions/methods do I have to use to build such a > function? > > > Regards > Cd.K > > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev/d79c5141-ddfb-444c-8c6b-d2e3c4b93457%40googlegroups.com.
