diff options
Diffstat (limited to 'gemini.filter.dpi')
-rwxr-xr-x | gemini.filter.dpi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gemini.filter.dpi b/gemini.filter.dpi index 6091698..3cc35a5 100755 --- a/gemini.filter.dpi +++ b/gemini.filter.dpi @@ -78,6 +78,12 @@ render_gemini() { printf "<%s style=\"font:sans-serif\">%s</%s>\n", tag, html, tag next } + /^>/ { + match($0, /^>+\s*/) + text = substr($0, RLENGTH+1) + printf "<blockquote>%s</blockquote>\n", escape_html(text) + next + } /^=>/ { match($0, /^=>\s*/) href = substr($0, RLENGTH+1) |