pleroma-cli/utils/html_to_txt_render

4 lines
129 B
Bash
Executable file

#!/bin/sh
sed -e "s/<br[^>]*>/\n/g ; s/<p[^>]*>/\n/g ; s/<[^>]*>//g ; s/&gt;*/>/g ; s/&lt;*/</g ; s/&quot;/\"/g ; s/&#39;/'/g"