diff options
1 files changed, 2 insertions, 1 deletions
| -rw-r--r-- | single.awk | 3 |
@@ -338,10 +338,11 @@ function surround(brace, opening, closing, blen, single_surround) { surround("`" , "<code>" , "</code>") } +# Definition lists !prev_blankline && /^: / { sub(/^<p>/, "", prev) sub(/^: /, "") - prev = "<dl><dt>" prev "</dt>" ORS "<dd>" $0 "</dd></dl>" + prev = "<dl><dt>" ORS prev ORS "</dt><dd>" ORS $0 ORS "</dd></dl>" blankline = 1 next } |
