-
-
Notifications
You must be signed in to change notification settings - Fork 279
kbd
element not considered as raw text
#112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You are referencing the kramdown converter and not the parser - any specific reason? |
@gettalong Not sure. The only place where I could find where text is considered as “raw” was in that specific place. |
what gives? |
Not sure what to do about this... The HTML converter is the false place since by then the en-dash is already created as an element. |
@gettalong I am not sure where the fix should be, but I do know that the contents of the |
Awesome, thanks. 👍 |
kramdown.rb, line #184 specifies that the
script
,pre
andcode
element have raw text, so that no smart typographical conversions are made (--
to en-dash etc).I believe this list of elements should also include
kbd
. Otherwise, long-form commandline options (e.g.--version
) need to be escaped:Without the backslash, the
--
is turned into an en-dash.The text was updated successfully, but these errors were encountered: