On 01/08/2014 03:05 PM, Emmanuel Engelhart wrote:
>> Perhaps some of that postprocessing could optionally take place within
>> the parsoid codebase.  If you requested "elaborated html" from
>> parsoid, it could go through and add some extra attributes and rel
>> types.  Would that sort of design satisfy your needs, Emmanuel (and
>> allow us to remove the rel attribute in the core representation)?
> 
> If this is possible to offer both, like you propose, without generating
> too much additional work, then this looks to me to be an excellent
> proposition.


Instead of a heavy-weight postprocessor we can also just provide the
code that classifies a href into different types. It is a pretty simple
method, unlikely longer than a few lines.

Gabriel

_______________________________________________
Wikitext-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitext-l

Reply via email to