diff options
author | rsiddharth <rsd@gnu.org> | 2016-03-05 22:04:06 -0500 |
---|---|---|
committer | rsiddharth <rsd@gnu.org> | 2016-03-05 22:04:06 -0500 |
commit | dc619c62f33047ac6a7a76f7efbac89dfa70dae8 (patch) | |
tree | 86511e6243e55c7fae5f24c9607f5bd19769eae1 /lps_gen.py | |
parent | 5906a801f67d2b5d361d99cf2a12d9540de790fb (diff) |
changed RenderHTML.
It does not "prettify" the HTML output using BeautifulSoup, instead it
just strips extraneous spaces and returns the HTML.
Addresses issue #3.
Diffstat (limited to 'lps_gen.py')
-rw-r--r-- | lps_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -372,7 +372,7 @@ def RenderHTML(lp_dict, template): lp_html = template.render(lp_dict=lp_dict) - return BeautifulSoup(lp_html, 'html.parser').prettify() + return str(BeautifulSoup(lp_html, 'html.parser')).strip() def main(): |