zulip/docs/html_unescape.py

10 lines
185 B
Python
Executable File

#!/usr/bin/env python2.7
# Remove HTML entity escaping left over from MediaWiki->rST conversion.
import html
import sys
for line in sys.stdin:
print(html.unescape(line), end='')