This is an automated email from the ASF dual-hosted git repository.

skm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 690cf7e  fix render issue on < and > (#12482)
690cf7e is described below

commit 690cf7ee5d5df465621531d1045874b9b6d5f00c
Author: Aaron Markham <[email protected]>
AuthorDate: Mon Sep 10 11:37:30 2018 -0700

    fix render issue on &lt; and &gt; (#12482)
---
 docs/build_version_doc/AddVersion.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/build_version_doc/AddVersion.py 
b/docs/build_version_doc/AddVersion.py
index b625a2e..9c5ca9d 100755
--- a/docs/build_version_doc/AddVersion.py
+++ b/docs/build_version_doc/AddVersion.py
@@ -74,7 +74,8 @@ if __name__ == '__main__':
                     version_tag_mobile.extract()
                 navbar.append(version_str)
                 navbar_mobile.append(version_str_mobile)
-                outstr = str(content).replace('&lt;', '<').replace('&gt;', '>')
+                # The following causes rendering errors in code blocks; refer 
to #12168
+                #outstr = str(content).replace('&lt;', '<').replace('&gt;', 
'>')
             # Fix link
             if args.current_version == tag_list[0]:
                 print("Fixing " + os.path.join(path, name))

Reply via email to