docbrown/app/services/markdown_processor
Miguel Guardia 2a50efb936
Fix Markdown parsing of <code> tag (#12797)
* Create a new method that replaces <code> tags to
triple back ticks (```)

* Create unit tests for add_proper_code_tags method

* Rubocop fixes

* Change method name to one that is more descriptive/accurate
Fix method to allow for triple backticks, sameline code tags and multiline codetags in the same post/article
Fix test to match with method name change

* Fix rubocop offenses

* Fix Rubocop offenses

* Add additional assertions to make sure backticks are present
2021-03-03 17:41:56 +01:00
..
fixer Move MarkdownTraverser to service (#12282) 2021-01-20 11:29:42 -05:00
parser.rb Fix Markdown parsing of <code> tag (#12797) 2021-03-03 17:41:56 +01:00
traverser.rb Move MarkdownTraverser to service (#12282) 2021-01-20 11:29:42 -05:00