Fix bug in 64c93d8e.
[lw2-viewer.git] / html-clean-regexps.js
blob5dadeccab0e3e823b1e760181a2bf6c6a6d52f96
2   // fractions
3   [/(^| )(?!9\/11)([0-9,]+(?:,[0-9]+)*)\/(?![12][0-9]{3})([0-9]+(?:,[0-9]+)*)(?=\s|[])}.,;"']|$)/ug, '$1<span class="frac"><sup>$2</sup>&frasl;<sub>$3</sub></span>'],
4   [/(^|[^\u0336])([^\u0336])\u0336/ug, '$1<s>$2'],
5   [/\u0336([^\u0336])([^\u0336]|$)/ug, '</s>$1$2'],
6   [/([^\u0336])\u0336/ug, '$1']