Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Link attributes in Markdown not working

Started by 01K 4 years ago · 0 replies · 857 views
4 years ago

Hi,
can't figure out what's wrong with my page. It doesn't process the nofollow attribute.
For the sake of example I do have the following link in MD:

[Google Fonts](https://developers.google.com/fonts/faq#what_does_using_the_google_fonts_api_mean_for_the_privacy_of_my_users?rel=nofollow)
and it's rendered without the attribute:
image|675x29

the
process: markdown: true
doesn't make any difference

On the other hand I have another page with the form. I've inserted the class inside the link of a label. To make it work I had to append the form element with markdown: true option.

YAML
    -
        name: checkName
        classes: 'extra-class'          
        label: 'text [more](/more?classes=some-class)'
        type: checkbox
        markdown: true          

So, inside the form, the attribute does work, while on the first page there is a problem.

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 40 16 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago