rmpestano / cukedoctor

BDD living documentation using Cucumber and Asciidoctor: https://goo.gl/Yp3NiU
https://rmpestano.github.io/cukedoctor/
Apache License 2.0
121 stars 23 forks source link

fix: ignore quote in summary reference ids #308

Open rdlopes opened 5 months ago

rdlopes commented 5 months ago

Hi all, I was generating documentation in French language and quotes appear quite often in titles.

Problem is that quotes don't play well with asciidoctor unique ids.

I remember having applied such a fix to feature ids, but never did on summary references.

So, to avoid the problem, I've applied the same rule of thumb:

For instance:

Here's the fix that reflects on this issue.

PS: my IntelliJ keeps complaining that there are empty quotes, resulting in performance loss. So I also removed them from where I changed code.