Homewrite.as

Fix hashes in code blocks rendered as hashtags

Authored by matt on Feb 4 2019, 4:50 PM.

Description

Fix hashes in code blocks rendered as hashtags

Previously, our hashtag parser would indiscriminately replace
hashtag-like text with hashtag HTML -- including in places it shouldn't
have, like inside code blocks. Along with the v1.7.0 changes to
writeas/saturday, this fixes that and closes #6.

As a bonus, strings of #spaceless#hashtags#in#a#row are now rendered
correctly.

Details

Committed
mattFeb 4 2019, 4:50 PM
Parents
rWFc2436a43c520: Merge branch 'master' into develop
Branches
Unknown
Tags
Unknown