Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Commit

Permalink
Network: DRY code in Label for parsing markup (#3565)
Browse files Browse the repository at this point in the history
* Network: DRY code in Label for parsing markup

This gets rid of a major eyesore for me. The accumulator object was identical for HTML and  Markdown.

In addition, the parsing has been refactored. Common elements have been DRY'd and the logic of the parsing has been made more comprehensible.

* Added suggestion @mbroad wrt regexp precompile

* Fixed linting
  • Loading branch information
wimrijnders authored and yotamberk committed Oct 20, 2017
1 parent bc446e0 commit 7110549
Show file tree
Hide file tree
Showing 2 changed files with 323 additions and 214 deletions.
Loading

0 comments on commit 7110549

Please sign in to comment.