Topic: WYSIWYG 'span' to 'em', etc.
Hey i just started using htmLawed and i am going to create a plugin with it for symfony. But i have some questions. I want to use it to clean up wysiwyg editor html and then have the html converted into markdown.
But this seems to be kinda hard, or i am missing some configuration. My wysiwyg editor produces <span style="font-weight: bold">bold text</span> which is correctly XHTML but inline styles suck and the markdown library can only convert <strong> <b> tags.
Is there a configuration or something that will convert stupid <span> tags into <strong> ? and the same for <em> <u> etc.
Henrik :)
yep [at] iamhenrik [dot] se