Index: trunk/extensions/ParserPlayground/modules/ext.parserPlayground.serializer.js |
— | — | @@ -119,6 +119,10 @@ |
120 | 120 | // @fixme validate that text doesn't contain '-->' |
121 | 121 | src = '<!--' + tree.text + '-->'; |
122 | 122 | break; |
| 123 | + case 'li': |
| 124 | + src = tree.listStyle.join(''); |
| 125 | + src += subParseArray(tree.content) + '\n'; |
| 126 | + break; |
123 | 127 | default: |
124 | 128 | callback(null, 'Unrecognized parse tree node'); |
125 | 129 | return; |