1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-06 10:06:19 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Jeremy Ruston
5df60aaa3c Don't render content or closing tag for void elements 2013-02-03 17:44:40 +00:00
Jeremy Ruston
4289a027d4 Add newlines after opening and closing tags
Which also fixes the problem with the PRE tag eating it's first newline
2013-02-03 17:11:03 +00:00
Jeremy Ruston
83900b0230 Fixed problem with erroneous rendering of empty HTML tags
We were doing things like `<div />`, which HTML doesn't like
2013-01-23 12:36:08 +00:00
Jeremy Ruston
bae48d5526 Stop base64 encoding context scope IDs
The base64 encoding wasn't working on node.js, and is a bit messy
2013-01-23 12:35:21 +00:00
Jeremy Ruston
df59dee188 Removed ability for widgets to not generate any elements
It interfered with the refresh mechanism
2013-01-17 11:28:24 +00:00
Jeremy Ruston
975711e22e Fixed missing parameter 2013-01-03 22:36:33 +00:00
Jeremy Ruston
89d44e27df Refactor things so that widgets can opt not to generate an element
They have to have a single child renderer instead
2013-01-03 20:51:13 +00:00
Jeremy Ruston
6d24cedbcc Refactored widget renderers to be hosted within HTML element renderers
This arrangement takes better advantage of the similarities between the
now deleted widget renderer and the element renderer. It also obviates
the need for wrapper elements around every widget.
2013-01-03 16:27:55 +00:00
Jeremy Ruston
d338a54370 Introduce refactored wiki parser and renderer
This is a half-way through a big refactoring of the parsing and
rendering infrastructure. The main change is to separate the parse and
render trees, which makes the code a lot cleaner. The new parser isn't
yet functional enough to replace the existing parser so for the moment
you have to manually invoke it with `$tw.testNewParser()` in your
browser console. I really ought to use branches for this kind of
thing...
2012-12-13 21:34:31 +00:00