Open EdisonJwa opened 5 years ago
After testing only if there exist headers this part will comes out if post with out context https://gist.github.com/EdisonJwa/81ac75c2fc9298b4ea119b7a20b044f6
Are fonts used in the content embedded in your articles, such as iframes ? Also If you delete an iframe or embedded CSS, will the error disappear ?
The font specification may not be converted successfully with the hexa-generator-amp plug-in, and ;
may have changed to "
.
Are fonts used in the content embedded in your articles, such as iframes ? Also If you delete an iframe or embedded CSS, will the error disappear ?
The font specification may not be converted successfully with the hexa-generator-amp plug-in, and
;
may have changed to"
.
Yes that's it. So it's there any way to fix it?
@EdisonJwa
I visited your web site that before it was converted AMP. https://www.wevg.org/archives/pair-locking-your-iphone/
The source code for the button is probably the source of the problem.
In the source code, double quotes are the reference characters. Please check if the reference character "
is in the template or in the article, and replace code to the "
. That will solve it.
Although it is possible to deal with bugs as a plug-in, this is a rare case.
BUG
I'm using the theme hexo-theme-suka and I was added the
generator_amp
part to the theme's file (themes/suka/layout/_partial/head/index.ejs
)'s first lineBut when I was trying to test my blog via https://validator.ampproject.org , I got this error
This is the error part.
the problem is I could't find how is this part comes from, and how to fix it (exclude the first minus sign)
the is Example HTML file to this full page
Environment Info
OS version
Node version(
node -v
)Your site
_config.yml
Plugin version(
npm ls --depth 0
)