mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 07:44:43 +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>");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue