737 |
|
|
738 |
var linksRegExp = this.makePhraseRegExp('^([^%O]+)?%O%O(([^|]+)?\\||)([^%C]+)%C%C', ''); |
var linksRegExp = this.makePhraseRegExp('^([^%O]+)?%O%O(([^|]+)?\\||)([^%C]+)%C%C', ''); |
739 |
|
|
740 |
var wikiRegExp = this.makePhraseRegExp('^([^%O]+)?%O([0-9]*)([#!])?([:\/\*_])([^%C]+)[:\/\*_]%C', ''); |
var wikiRegExp = this.makePhraseRegExp('^([^%O]+)?%O([0-9]*)([#!])?([:\/\*_-])([^%C]+)[:\/\*_-]%C', ''); |
741 |
|
|
742 |
var montaRegExp = this.makePhraseRegExp('^([^%O]+)?%O([^%C]+)%C', ''); |
var montaRegExp = this.makePhraseRegExp('^([^%O]+)?%O([^%C]+)%C', ''); |
743 |
|
|
894 |
style += '; font-style: italic;'; |
style += '; font-style: italic;'; |
895 |
} else if (RegExp.$4 == '_') { |
} else if (RegExp.$4 == '_') { |
896 |
style += '; text-decoration: underline;'; |
style += '; text-decoration: underline;'; |
897 |
|
} else if (RegExp.$4 == '-') { |
898 |
|
style += '; text-decoration: line-through;'; |
899 |
} |
} |
900 |
fragment.lastChild.lastChild.setAttribute('style', style); |
fragment.lastChild.lastChild.setAttribute('style', style); |
901 |
if (RegExp.$3 == '!') fragment.lastChild.lastChild.setAttribute('class', 'em-text'); |
if (RegExp.$3 == '!') fragment.lastChild.lastChild.setAttribute('class', 'em-text'); |