forked from MarseyWorld/MarseyWorld
fdsfds
parent
4ea8cb58aa
commit
2b4021dbe6
|
@ -733,7 +733,7 @@ def submit_post(v):
|
|||
body = re.sub('([^\n])\n([^\n])', r'\1\n\n\2', body)
|
||||
|
||||
options = []
|
||||
for i in re.finditer('\s*\$([^\$]+)\$\s*', body):
|
||||
for i in re.finditer('\s*\$([^\$\n]+)\$\s*', body):
|
||||
options.append(i.group(1))
|
||||
body = body.replace(i.group(0), "")
|
||||
|
||||
|
|
|
@ -62,6 +62,17 @@ On {{'SITE_NAME' | app_config}}, you can use Markdown formatting.
|
|||
<td>:!marseylove:</td>
|
||||
<td><img loading="lazy" data-bs-toggle="tooltip" style="transform: scaleX(-1)" alt=":!marseylove:" title=":!marseylove:" delay="0" height="20" src="/assets/images/emojis/marseylove.webp"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Poll Options</td>
|
||||
<td>$bussy$</td>
|
||||
<td>
|
||||
<div class="custom-control">
|
||||
<input type="checkbox" class="custom-control-input" id="422741" name="option" checked="">
|
||||
<label class="custom-control-label" for="422741">bussy - <a href="/votes?link=t3_422741"><span id="poll-422741">5</span> votes</a></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
{% filter markdown %}
|
||||
|
|
Loading…
Reference in New Issue