html export: fix crash on # with no spaces following

FossilOrigin-Name: 3547ab30d165d0d4bf94f2106ee062695cd39f7cf8b10ea042f211f48f83e8a2
This commit is contained in:
crc 2020-02-21 19:59:25 +00:00
parent c4aa7805f9
commit 9e516333c9

View file

@ -218,9 +218,9 @@ headers should look like:
~~~ ~~~
:header? :header?
dup [ '# s:begins-with? ] dup [ '#_ s:begins-with? ]
[ '## s:begins-with? ] [ '##_ s:begins-with? ]
[ '### s:begins-with? ] tri or or ; [ '###_ s:begins-with? ] tri or or ;
:format:head :format:head
ASCII:SPACE s:split ASCII:SPACE s:split