1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-01 08:20:46 +00:00
TiddlyWiki5/core/modules/parsers/wikiparser/rules
Jermolene 06a0d21734 Use double linebreaks to indicate content of a widget or html element should be parsed in block mode
Fixes #82.

The old behaviour was to parse the content of a widget or html element
in block mode if the opening tag was followed by a line break. The new
behaviour requires two line breaks.

This makes it possible to include linebreaks more liberally within
wikitext, although care must still be taken to only use double line
breaks when the block mode behaviour is desired.

The code change here is very simple, just a single line change in
html.js. Most of the other changes are to convert various single line
breaks into double line breaks.
2014-02-20 21:42:31 +00:00
..
codeblock.js fixes of a newbie, me 2014-01-12 17:09:24 +00:00
codeinline.js added a fix for issue #186 2013-12-25 14:31:35 +01:00
commentblock.js Simplify the regular expression for HTML comments 2014-02-12 15:24:03 +00:00
commentinline.js Simplify the regular expression for HTML comments 2014-02-12 15:24:03 +00:00
dash.js Fix problem with the regexp for the "dash" parser 2012-12-26 19:32:06 +00:00
emphasis.js Switch code block syntax 2012-12-22 23:09:44 +00:00
entity.js Switch code block syntax 2012-12-22 23:09:44 +00:00
extlink.js Make sure external links have the class "tw-tiddlylink-external" 2013-11-08 12:26:32 +00:00
filteredtranscludeblock.js Fixed problem with greediness of filtered transclude regexp 2013-03-02 13:01:44 +00:00
filteredtranscludeinline.js Fixed problem with greediness of filtered transclude regexp 2013-03-02 13:01:44 +00:00
hardlinebreaks.js Fixed typo in hardlinebreak parser 2013-12-14 17:42:50 +00:00
heading.js Finishing moving the parser rules about 2012-12-20 16:41:06 +00:00
horizrule.js added fix for issue #94 for horizontal rules, tables and typed block 2013-12-25 23:06:42 +01:00
html.js Use double linebreaks to indicate content of a widget or html element should be parsed in block mode 2014-02-20 21:42:31 +00:00
list.js Missing comma 2013-12-05 16:20:22 +00:00
macrocallblock.js Fixed problem with greedy regexp for macrocalls 2013-11-17 21:53:12 +00:00
macrocallinline.js Make sure the parser rules have unique names 2012-12-26 19:32:54 +00:00
macrodef.js Store macros in the render context so that they scope in the expected way 2012-12-29 23:17:09 +00:00
prettylink.js Make sure external links have the class "tw-tiddlylink-external" 2013-11-08 12:26:32 +00:00
quoteblock.js Cleaning up further coding style inconsistencies that have crept in 2014-01-03 10:50:00 +00:00
rules.js Store macros in the render context so that they scope in the expected way 2012-12-29 23:17:09 +00:00
styleblock.js Fixed subtle little typo 2012-12-29 23:16:34 +00:00
styleinline.js Refactored widget renderers to be hosted within HTML element renderers 2013-01-03 16:27:55 +00:00
table.js Resolve merge conflict 2014-01-25 14:41:48 +00:00
transcludeblock.js Fixed problem with target fields/index being erroneously applied to template 2013-11-11 22:29:38 +00:00
transcludeinline.js Fixed typo from d64590a12b 2013-11-11 23:44:55 +00:00
typedblock.js Switch to using $tw.fakeDocument for the fakedom document object 2014-01-15 14:57:35 +00:00
wikilink.js Refactored widget renderers to be hosted within HTML element renderers 2013-01-03 16:27:55 +00:00