Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix bad key for unescape_cosmo error when unescaping adjacent cosmo selectors#12

Open
omnivelociraptor wants to merge 2 commits into
leafo:masterfrom
omnivelociraptor:ccm-escape-adjacent-cosmo-selectors
Open

Fix bad key for unescape_cosmo error when unescaping adjacent cosmo selectors#12
omnivelociraptor wants to merge 2 commits into
leafo:masterfrom
omnivelociraptor:ccm-escape-adjacent-cosmo-selectors

Conversation

@omnivelociraptor

Copy link
Copy Markdown

Adjacent cosmo selectors such as $one$two are escaped by the markdown renderer as

"0000sitegen_markdown00dollar0000.10000sitegen_markdown00dollar0000.2"

This presents a problem when unescaping because it is not clear where one selector ends and the other begins.

This change updates the first character to the escape phrase, 0000sitegen_markdown00dollar0000 to be the letter z instead of a zero 0, to clearly demarcate escape phrases when they are not separated by white space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant