fixed helptext html formatting

This commit is contained in:
Alex Kelly 2020-01-04 23:29:30 -05:00
parent d726858784
commit 8fcd97edf0

View file

@ -15,16 +15,18 @@ def root():
host = request.get_header('host') host = request.get_header('host')
helptext = f""" helptext = f"""
<p>General format is {host}/&lt;domain&gt;/&lt;action&gt; <p>General format is {host}/&lt;domain&gt;/&lt;action&gt;
<p>If <action> is blank, it will attempt to use the redirect <p>If &lt;action&gt; is blank, it will attempt to use the redirect
<p>You may also/optionally specify an action which can be any of the following <p>You may also/optionally specify an action which can be any of the following
<table margin-left="100px"> <table margin-left="100px">
<tr> <tr>
<td>raw</td> <td>raw</td>
<td>Show the raw json (formatted as an html table)</td> <td>Show the raw json (formatted as an html table)</td>
</tr> </tr>
<tr>
<td>html</td> <td>html</td>
<td>Hit the IPFS hash via cloudflare-ipfs.com</td> <td>Hit the IPFS hash via cloudflare-ipfs.com</td>
</tr> </tr>
<tr>
<td>redir</td> <td>redir</td>
<td>Use the redirect parameter and just return a 302 redirect to whatever is set</td> <td>Use the redirect parameter and just return a 302 redirect to whatever is set</td>
</tr> </tr>