Nofollow does not work for img links


In the page linking tutorial, it says you can nofollow Links like this:

[NoFollow Link](../some-page?rel=nofollow)

This does not work when put inside an div container, like :

<div class="div" markdown="1">[![ALT_TEXT](img.jpg)](</div>




@NEA Have you tried using <span> instead of <div> or Markdown Extra?

Using <span>:



<a href="" rel="nofollow"><img alt="ALT_TEXT" src="/site-blog/user/pages/"></a>

See here for explaination: How can I wrap my markdown in an HTML div?

Markdown Extra:
And according to another answer, Markdown Extra does support <div>. Markdown Extra is supported by Grav (see Grav’s Mardown docs):

Grav ships with built-in support for Markdown and Markdown Extra. You must enable Markdown Extra in your system.yaml configuration file.