Skip to content

Commit

Permalink
Can now deal with special characters in whatevers in KEYWORD=whatever
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth Aneurin Tribello authored and Gareth Aneurin Tribello committed May 11, 2024
1 parent dcd0f93 commit b31a978
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PlumedToHTML/PlumedFormatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def format(self, tokensource, outfile):
if select not in self.keyword_dict["groups"] : raise Exception("special group " + select + " not in special group dictionary")
tooltip, link = self.keyword_dict["groups"][select]["description"], self.keyword_dict["groups"][select]["link"]
outfile.write('<div class="tooltip">' + inp + '<div class="right">' + tooltip + '. <a href="' + link + '">Click here</a> for more information. <i></i></div></div>')
else : outfile.write( inp )
else : outfile.write( html.escape(inp) )
nocomma = False
elif ttype==String or ttype==String.Double :
# Labels of actions
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name='PlumedToHTML',
version='0.63',
version='0.64',
author="Gareth Tribello",
author_email="[email protected]",
description="A package for creating pretified HTML for PLUMED files",
Expand Down

0 comments on commit b31a978

Please sign in to comment.