docbrown/app/services/markdown_processor
Andy Zhao dc30eadad8
Remove unused attributes from markdown parser (#13484)
* Remove definitely unused attributes

* Refactor and remove unused attributes

* Add parentheses

* Prevent alt tag from having Liquid tags inside

* Add test

* Remove more unused attributes

* Scrub any valid attributes

* Remove unused tags and add more tests

* Remove <i> tag; <em> is used by parser

* Remove <center> b/c it's deprecated though still valid

* <cite> is a safe tag and used by some

* Eh I changed my mind about center lol

* Add underline <u> back in

* Don't allow width changes

* Use frozen constant for regex

* Use #remove over #gsub
2021-04-27 09:33:01 -04:00
..
fixer Move MarkdownTraverser to service (#12282) 2021-01-20 11:29:42 -05:00
parser.rb Remove unused attributes from markdown parser (#13484) 2021-04-27 09:33:01 -04:00
traverser.rb Move MarkdownTraverser to service (#12282) 2021-01-20 11:29:42 -05:00