retextjs / retext-smartypants

plugin to implement SmartyPants
https://retextjs.github.io/retext-smartypants
MIT License
54 stars 9 forks source link

ignore HTML attributes #2

Closed miickel closed 9 years ago

miickel commented 9 years ago

Is there an option to ignore converting quotes in html attributes? Right now anchor links etc. will be broken by this retext plugin.

Many thanks

wooorm commented 9 years ago

Unfortunately, no. Additionally, it's not something I'll implement: retext's goal is to manipulate natural language (plain text), not work around markup languages (like markdown or HTML). Sorry!