From 9e516333c9311b72e07b412f517508c6833a88d1 Mon Sep 17 00:00:00 2001 From: crc Date: Fri, 21 Feb 2020 19:59:25 +0000 Subject: [PATCH] html export: fix crash on # with no spaces following FossilOrigin-Name: 3547ab30d165d0d4bf94f2106ee062695cd39f7cf8b10ea042f211f48f83e8a2 --- example/export-as-html.retro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/export-as-html.retro b/example/export-as-html.retro index 76bfd09..98aba72 100755 --- a/example/export-as-html.retro +++ b/example/export-as-html.retro @@ -218,9 +218,9 @@ headers should look like: ~~~ :header? - dup [ '# s:begins-with? ] - [ '## s:begins-with? ] - [ '### s:begins-with? ] tri or or ; + dup [ '#_ s:begins-with? ] + [ '##_ s:begins-with? ] + [ '###_ s:begins-with? ] tri or or ; :format:head ASCII:SPACE s:split