TiddlyWiki / TiddlyWiki5

A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
https://tiddlywiki.com/
Other
8k stars 1.18k forks source link

disabling "codeinline" parse-rule will break TW saving, without recovering possibility #4254

Open pmario opened 5 years ago

pmario commented 5 years ago

to reproduce:

  1. Download an empty TW5
  2. Turn off the codeinline parser from Control Panel > Info > Advanced > Parsing
  3. Save and reload the TW5 (I used the download saver to be sure)
  4. Add some more tiddlers. Save and reload the Tw5 again.

also see: https://groups.google.com/forum/#!topic/tiddlywiki/hiW2SyIlyMY

pmario commented 5 years ago

I did some tests with a node build. It seems

\rules only filteredtranscludeinline transcludeinline codeinline html macrodef macrocallblock

should be enough to save a proper TW file. ... BUT once the control-panel setting is disabled, the parser rule is physically "deleted" instead of "deactivated" from the core. ... So even if the "\rule only" is active, the functionality is already gone.