Hi CdK > I'm trying to find the location in TiddlyWiki where the white space > characters are removed from the HTML <pre> tag. This happens before parsing.
I’m not sure what you mean. Can you show an example of spaces being removed that works on tiddlywiki.com? > So far I found this function while debugging: > > $tw.Wiki.prototype.deserializeTiddlers`. deserializeTiddlers is used to extract tiddler data from the store area DIV during startup. > The following tiddler "period rule" has 2 space characters after the second > "test": > > > > (windows 10, firefox, TiddlyWiki 5.1.21-prerelease empty with plugins: > CodeMirror Editor with all AddOns, Mod-Loader Plugin, (my) linebreak in > paragraph, default tiddler: "[[period rule]]") > > I set up the firefox debugger, reloaded/refreshed the TiddlyWiki and stopped > in the deserializer (store Area) when calling > $tw.utils.htmlDecode(e.innerHTML) for the tiddler in question: > > > > > But here one space is missing. But this space is definitely present in the > HTML file and also in the tiddler in draft/edit-mode. > Either e does not contain the correct DOM node here, namely the pre-tag, or > it happens even earlier in the code. 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? Best wishes Jeremy > > Can someone help me out here? > > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/ac6eac1f-9752-46b8-b0e4-0f34c2bf48c5%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywikidev/ac6eac1f-9752-46b8-b0e4-0f34c2bf48c5%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/83837AD3-8B89-4916-8D05-FA9442065F80%40gmail.com.
