diff --git a/document/core/Makefile b/document/core/Makefile index 90cd7ae0ea..67ce899442 100644 --- a/document/core/Makefile +++ b/document/core/Makefile @@ -126,7 +126,6 @@ bikeshed: $(SPHINXBUILD) -b singlehtml -c util/bikeshed \ $(ALLSPHINXOPTS) $(BUILDDIR)/bikeshed_singlehtml mkdir -p $(BUILDDIR)/bikeshed_mathjax/ - cp index.bs $(BUILDDIR)/bikeshed_mathjax/ bikeshed spec index.bs $(BUILDDIR)/bikeshed_mathjax/index.html mkdir -p $(BUILDDIR)/html/bikeshed/ python util/mathjax2katex.py $(BUILDDIR)/bikeshed_mathjax/index.html \ diff --git a/document/core/util/mathjax2katex.py b/document/core/util/mathjax2katex.py index ae2bab5e95..063667f006 100755 --- a/document/core/util/mathjax2katex.py +++ b/document/core/util/mathjax2katex.py @@ -137,8 +137,8 @@ def ExtractMath(match): # Bad duplicate meta. data = ''.join(data.rsplit( '', 1)) - # Drop all scripts. - data = re.sub('', '', data) + # Drop several scripts. + data = re.sub('', '', data) data = data.replace( '
\n', '\n') # Drop duplicate title.