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

Commit

Permalink
Merge pull request #7 from trivago-izelenov/patch-1
Browse files Browse the repository at this point in the history
Update script.js: list formatting JIRA>GH
  • Loading branch information
FokkeZB committed Nov 17, 2015
2 parents 823d084 + d81a4ac commit 2881ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function toM() {
converted = converted.replace(/\+([^+]*)\+/g, '<ins>$1</ins>');
converted = converted.replace(/\^([^^]*)\^/g, '<sup>$1</sup>');
converted = converted.replace(/~([^~]*)~/g, '<sub>$1</sub>');
converted = converted.replace(/-([^-]*)-/g, '~~$1~~');
converted = converted.replace(/-([^-]*)-/g, '-$1-');

converted = converted.replace(/\{code(:([a-z]+))?\}([^]*)\{code\}/gm, '```$2$3```');

Expand Down

0 comments on commit 2881ded

Please sign in to comment.