You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sidebar and search are incorrectly handling underscores. Sometimes appears, sometimes are removed and sometimes partially removed. Ex: For this markdown ## utc_prev_offset, it appears as utcprevoffset in the search and sidebar.
_ is a markdown syntax token. e.g. _text_ would be parsed as <em>text</em>.
While we need to display the plain text at sidebar nav links and search result items so the most the inline markdown was removed.
You can use \ to prevent the _ from being parsed. unfortunately, though you can make it display correctly in the markdown content, it is still wrong in sidebar. fixed at: 4503cfc
Bug report
The sidebar and search are incorrectly handling underscores. Sometimes appears, sometimes are removed and sometimes partially removed. Ex: For this markdown
## utc_prev_offset
, it appears asutcprevoffset
in the search and sidebar.Version
vuepress 0.10.0
Steps to reproduce
Sample page: https://a0.github.io/a0-tzmigration/data/#local-ini-str-local-fin-str
Source: https://github.com/a0/a0-tzmigration/blob/master/docs/data/README.md
What is expected?
They should look the same.
What is actually happening?
The underscores are removed.
### utc_offset
it appears correctly:utc_offset
.### utc_prev_offset
it appears wrong:utcprevoffset
.### local_ini_str, local_fin_str
it appears wrong:localini_str, local_finstr
.Other relevant information
The text was updated successfully, but these errors were encountered: