Remove obsolete code from lib/gitlab/email/html_to_markdown_parser.rb
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=498029) </details> <!--IssueSummary end--> As of now, there is this obsolete code in that ruby file: ``` # This redefinition can be removed once https://github.com/soundasleep/html2text_ruby/pull/30 # is merged and released. def self.convert(html) html = fix_newlines(replace_entities(html)) doc = Nokogiri::HTML(html) new(doc).convert end ``` the pull request that the code comment mentions (https://github.com/soundasleep/html2text_ruby/pull/30) has been merged and the newest release of html2text (0.4.0 https://github.com/soundasleep/html2text_ruby/releases/tag/v0.4.0) has that pull request merged, so therefore this obsolete code should be removed.
issue