-
Notifications
You must be signed in to change notification settings - Fork 20
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
Missing number sign # for first occurrence of a special character #66
Comments
Hmmm, I'm not sure I really understand the problem.
Do you have some more details? |
Your example disorients me even more. 😕 Indeed, the word "congratulations" is rendered with (English) quote marks in your HTML page (I haven't any issue with HTML display). But, even in your own example, the content of the meta description content is rendered without any quote marks: When would be expected: In my case, quote marks are not entirely erased as in your own example, but it's only the first occurence of a special entity which got its number sign So, when a meta content have to contains Hoping to have been clearer... |
Ahh, I see, I think I understand and that actually it is expected behavior. The plugin will pick the content from the markdown editor and will performs several action to remove any special character from markdown content, including the #, ** etc. |
I'm not sure to understand : if the expected behaviour consists in fully removing all special characters (from Markdown input to HTML output), why in my case is it only the very first occurrence which actually seems to be really performed? All others special characters following this first one are correctly rendered as HTML entities.. |
I just discovered an issue concerning special characters.
Strangely, the very first occurrence of such a character is rendred without the number sign
#
, which of course causes a display problem.For example, a specific string (1) is converted in
meta name="description" content
andmeta property="og:description" content
as (2) and will be displayed in a link as (3) :« texte entre guillemets »
&171; texte entre guillemets »
&171; texte entre guillemets »
I have to add that I use the plugin Smartypants (wondering it may be a compatibility problem between the two plugins).
The text was updated successfully, but these errors were encountered: