You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jade is rather uptight about indentation of contents of CDATA tags like script and style tags so, unless rules are loosened, script and style tag contents will have to be reformatted during conversion. Support for non-JS script tag will be problematic, however.
The text was updated successfully, but these errors were encountered:
Using beautifier you mentioned is a good idea. Re dependency, given that html2jade is typically used as CLI tool, moderately heavy dependents are OK I think.
Alternate way of supporting beautifier is using CLI tools as plugins of sort. So for JS, html2jade can attempt to launch html2jade-js process via a shell instance and pipe content of CDATA through it. Same with CSS.
Jade is rather uptight about indentation of contents of CDATA tags like
script
andstyle
tags so, unless rules are loosened, script and style tag contents will have to be reformatted during conversion. Support for non-JS script tag will be problematic, however.The text was updated successfully, but these errors were encountered: