symfony-tools/docs-builder

Minor issue when parsing a reference

javiereguiluz opened this issue · 0 comments

In this article -> https://raw.githubusercontent.com/EasyCorp/EasyAdminBundle/master/doc/fields.rst we have this:

Next, create the template used to render the field in the ``index`` and ``detail``
:ref:`CRUD pages <crud-pages>`. The template can use any `Twig templating features`_
and the following variables:

Everything is correctly parsed, but there's a minor issue. The generated HTML is:

<p>Next, create the template used to render the field in the <code>index</code> and <code>detail</code><a href="crud.html#crud-pages" class="reference internal">CRUD pages</a>. The template can use any <a href="https://twig.symfony.com/doc/3.x/" class="reference external">Twig templating features</a>

The problem is that there isn't a white space between <code>detail</code> and the following <a> reference. The missing white space is needed to avoid this:

image