Open VEZY opened 4 years ago
When using blogdown, the attachment shortcode is not working properly when used with arguments:
{{%attachments pattern="coffee.ops"/%}}
would give the following error:
unrecognized character in shortcode action: U+003C '<'. Note: Parameters with non-alphanumeric args must be quoted
I find out the quotes around the value are not parsed properly in the html file, they render as “...” :
“...”
<p>{{%attachments pattern=“coffee.ops”/%}}</p>
And should be:
<p>{{%attachments pattern="coffee.ops"/%}}</p>
Replacing manually the quotes seems to work though.
I don't know if the issue comes from blogdown or the learn theme, so I'm posting here for a start :)
Anyway thank you for this wonderful theme !
Escaping the quotes in the .Rmd seems to work though. This:
.Rmd
{{%attachments pattern=\"coffee.ops\" /%}}
is parsed like this in the html:
<p>{{%attachments pattern="coffee.ops" /%}}</p>
When using blogdown, the attachment shortcode is not working properly when used with arguments:
would give the following error:
I find out the quotes around the value are not parsed properly in the html file, they render as
“...”
:And should be:
Replacing manually the quotes seems to work though.
I don't know if the issue comes from blogdown or the learn theme, so I'm posting here for a start :)
Anyway thank you for this wonderful theme !