Gabriel Wicke
7e21b7380a
Merge "Round-trip nowiki"
2012-05-21 17:16:56 +00:00
Gabriel Wicke
fb7d5418a5
Round-trip nowiki
...
Change-Id: I5f7e6a43f5fdc1708ee710b2a601b20db733452c
2012-05-21 18:06:09 +02:00
Gabriel Wicke
a6610e52c2
Serializer and table round-tripping improvements
...
* added stx: 'html' round-trip information for html tags
* added t_stx: 'row' info for row-wise table wiki syntax, and support for it
in the serializer
* the first table row is implicit in wikitext
* renamed lastToken to prevToken in serializer
* strip first newline in an initial chunkCB
Change-Id: I014b046539d1b674d830551c5fd1b74a67f81993
2012-05-21 14:59:53 +02:00
Gabriel Wicke
e069e7cb1c
Merge "Support table captions and properly delimit the end of table options"
2012-05-21 12:51:58 +00:00
Gabriel Wicke
54e75b93b7
Support table captions and properly delimit the end of table options
...
Change-Id: I15eb8df19528cfceadfee368370501b30f0e36a0
2012-05-18 10:46:43 +02:00
Gabriel Wicke
c39eb36968
Use outerHTML to serialize unhandled DOM node in serializer
...
Change-Id: I37350712c9450c34025740a8d6de51344739c2b7
2012-05-18 10:03:16 +02:00
Gabriel Wicke
3c6d829708
Fix first bug caught by new roundtrip mode for parserTests
...
Change-Id: Id152fd29606d8ee34ac300945f41e2a5f48f087f
2012-05-18 09:55:22 +02:00
Subramanya Sastry
ae4810b201
Renamed items to itemCount for better code readability.
...
Change-Id: I53851c07a4746928fddec4b3737136f081d49178
2012-05-17 12:32:46 -05:00
Subramanya Sastry
58da03bc85
Track list prefixes in the list start handler and use them to output
...
serialized text in list item handlers.
Change-Id: Ic7562d531d2313bedcf3b7450b4f28f02bc2b5a3
2012-05-17 12:12:46 -05:00
Gabriel Wicke
e2815b516c
Start to handle links
...
Change-Id: I1fb975910651820fd889d77152562fd4fbcb5db8
2012-05-17 14:32:56 +02:00
Gabriel Wicke
b7fd4498a9
Use single _serializeToken handler for both DOM and tokens
...
Change-Id: I45e1d90b53a5ddc678f7744f27274bebcfc375fe
2012-05-17 13:20:39 +02:00
Gabriel Wicke
8dbc2f573f
Simplistic wikitext round-tripping with parse.js --wikitext
...
Lists are a bit tricky, as nested lists are not wrapped in a separate list
item. Should work now though.
Change-Id: I2e5f29f6afa6bdd2d5e5c0c5d019b70c611b73d1
2012-05-17 12:44:46 +02:00