mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 23:34:42 +00:00
chore(revert): Revert accidental change to showdown
Offending SHA: 0b6f1ce5f8
This commit is contained in:
parent
556f9cc35e
commit
6bca948323
1 changed files with 3 additions and 3 deletions
|
|
@ -977,9 +977,9 @@ var _EncodeCode = function(text) {
|
||||||
|
|
||||||
var _DoItalicsAndBold = function(text) {
|
var _DoItalicsAndBold = function(text) {
|
||||||
|
|
||||||
// ** must go first:
|
// <strong> must go first:
|
||||||
text = text.replace(/(\*\*|__)(?=\S)([^\r]*?\S[*_]*)\1/g,
|
text = text.replace(/(\*\*|__)(?=\S)([^\r]*?\S[*_]*)\1/g,
|
||||||
"**$2</strong>");
|
"<strong>$2</strong>");
|
||||||
|
|
||||||
text = text.replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g,
|
text = text.replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g,
|
||||||
"<em>$2</em>");
|
"<em>$2</em>");
|
||||||
|
|
@ -1293,4 +1293,4 @@ var escapeCharacters_callback = function(wholeMatch,m1) {
|
||||||
return "~E"+charCodeToEscape+"E";
|
return "~E"+charCodeToEscape+"E";
|
||||||
}
|
}
|
||||||
|
|
||||||
} // end of Showdown.converter
|
} // end of Showdown.converter
|
||||||
Loading…
Reference in a new issue