Skip to content

Commit

Permalink
change manual encoding to UTF
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed Dec 29, 2019
1 parent c831f9b commit 71bca19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assembler/manual.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html> <head> <title>SPAdes 3.13.1 Manual</title> <style type="text/css"> .highlight pre { background-color: #f0f2f4; border-radius: 2px; font-size: 100%; line-height: 1.45; overflow: auto; padding: 16px; } </style> </head> <body><p><strong>SPAdes 3.14.0 Manual</strong></p>
<html> <head> <title>SPAdes manual</title> <style type="text/css"> .highlight pre { background-color: #f0f2f4; border-radius: 2px; font-size: 100%; line-height: 1.45; overflow: auto; padding: 16px; } </style> </head> <body> <meta charset="UTF-8"> <p><strong>SPAdes 3.14.0 Manual</strong></p>
<ol>
<li><a href="#sec1">About SPAdes</a> <br>
    1.1. <a href="#sec1.1">Supported data types</a><br>
Expand Down Expand Up @@ -812,4 +812,4 @@ <h1>Citation</h1>
<p><a name="sec6"></a></p>
<h1>Feedback and bug reports</h1>
<p>Your comments, bug reports, and suggestions are very welcomed. They will help us to further improve SPAdes. If you have any troubles running SPAdes, please send us <code>params.txt</code> and <code>spades.log</code> from the directory <code>&lt;output_dir&gt;</code>.</p>
<p>You can leave your comments and bug reports at <a href="https://github.com/ablab/spades/issues">our GitHub repository tracker</a> or sent it via e-mail: <a href="mailto:spades.support@cab.spbu.ru">spades.support@cab.spbu.ru</a>.</p><br/><br/><br/><br/><br/> </body> </html>
<p>You can leave your comments and bug reports at <a href="https://github.com/ablab/spades/issues">our GitHub repository tracker</a> or sent it via e-mail: <a href="mailto:spades.support@cab.spbu.ru">spades.support@cab.spbu.ru</a>.</p><br/><br/><br/><br/><br/> </body> </html>
2 changes: 1 addition & 1 deletion assembler/src/tools/misc/markdown_to_github_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def make_github_request(in_file_name):

# Substitute conversion artifacts and dump to file (non-ascii)
def write_html_to_file(txt, out_file_name):
final_html = HEADER + txt.replace("<br><br>", "<br>").replace('<a name="user-content-', '<a name="').replace('<a href="assembler/', '<a href="') + FOOTER
final_html = HEADER + txt.replace("<br><br>", "<br>").replace('<a name="user-content-', '<a name="').replace('<a href="assembler/', '<a href="').replace('<p><strong>SPAdes', ' <meta charset="UTF-8"> <p><strong>SPAdes') + FOOTER
outf = codecs.open(sys.argv[2], 'w', encoding='utf-8')
outf.write(final_html)
outf.close()
Expand Down

0 comments on commit 71bca19

Please sign in to comment.