On 11/14/11 12:50 AM, Gabriel Wicke wrote: >> 2 - to give others a way to parse wikitext better. >> > Even an annotated HTML DOM (using the data-* attributes for example) > could be used. We might actually be able to off-load most > context-sensitive parts of the parsing process to the browser's HTML > parser by feeding it pre-tokenized HTML tag soup, for example via > .innerHTML.
I'm not sure what you are proposing -- are you suggesting that we let some anomalies persist and let the browser take care of it? IMO we should be shooting for server APIs that give users very clean data structures, so they can transform them however they like. HTML should be just one of the output formats. -- Neil Kandalgaonkar (| <[email protected]> _______________________________________________ Wikitext-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitext-l
