mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-21 10:05:34 +08:00
chore(revert): Revert accidental change to showdown
Offending SHA: 0b6f1ce5f8
This commit is contained in:
@@ -977,9 +977,9 @@ var _EncodeCode = function(text) {
|
||||
|
||||
var _DoItalicsAndBold = function(text) {
|
||||
|
||||
// ** must go first:
|
||||
// <strong> must go first:
|
||||
text = text.replace(/(\*\*|__)(?=\S)([^\r]*?\S[*_]*)\1/g,
|
||||
"**$2</strong>");
|
||||
"<strong>$2</strong>");
|
||||
|
||||
text = text.replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g,
|
||||
"<em>$2</em>");
|
||||
@@ -1293,4 +1293,4 @@ var escapeCharacters_callback = function(wholeMatch,m1) {
|
||||
return "~E"+charCodeToEscape+"E";
|
||||
}
|
||||
|
||||
} // end of Showdown.converter
|
||||
} // end of Showdown.converter
|
||||
Reference in New Issue
Block a user