Skip to content

Conversation

wouterj
Copy link
Collaborator

@wouterj wouterj commented Jan 22, 2020

As you can see in the reSt spec it is not needed to surround hyperlink references with backticks:

  • Named hyperlink references:
    • No start-string, end-string = "_".
    • Start-string = "`", end-string = "`_". (Phrase references.)

In this case, only the first word before the underscore is used as reference (which is not the case with hyperlink targets btw, they allow space characters without surrounding backticks, as you can see in the test).

This currently breaks the linter in symfony/symfony-docs#12861

Copy link
Owner

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice and thank you for the explanation 😊😎

@OskarStark OskarStark merged commit f442a06 into OskarStark:master Jan 22, 2020
@wouterj wouterj deleted the bug/hyperlink-references branch January 22, 2020 22:25
@OskarStark
Copy link
Owner

A new docker build is started automatically. I think you need to push your PR afterwards again, because rerun the job would not fetch the newer image IMHO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants