> I found a bunch of old posts and a number of tickets on this issue.
Frankly, there's not much of a chance that this will be fixed any time
soon, mostly because it would break backwards compatibility.
However, this might be of interest:
http://groups.google.com/group/TiddlyWiki/t/372693e8296f5fe
http://tinyurl.com/6erqyt
(http://svn.tiddlywiki.org/Trunk/contributors/FND/formatters/ParagraphFormatter.js)
-- F.
It works for me in an empty 2.5.0 document. Can you provide a test case*?
-- F.
It was sort of a quick hack, more a proof of concept than anything.
Feel free to improve it; I'd happily accept useful changes.
> (function(formatters) {...})(config.formatters);
> What does a construct like this give you
Apart from the aliasing*, that closure also gives me a local scope,
preventing pollution of the global namespace.
N.B.:
Strictly development-related issues should be discussed on the dev group:
http://groups.google.com/group/TiddlyWikiDev/
-- F.
* http://tiddlywiki.org/wiki/Dev:Best_Practices#Creating_Aliases
Well, not exactly.
Essentially, single line breaks are ignored, double line breaks create a
paragraph (though only visually; instead of the P element, BR elements
are used).
-- F.
Absolutely, yes.
However, that turned out to be tricky to implement for this plugin. (I
would of course welcome any suggestions on how it could be fixed.)
-- F.