Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering error with :class: and :phpfunction: at line breaks #158

Open
ThomasLandauer opened this issue May 1, 2023 · 1 comment
Open

Comments

@ThomasLandauer
Copy link

If a :class: or :phpfunction: shortcut happens to be placed on a line break (on the rendered page), the space between the icon and the last word before it is missing.

Two examples at https://symfony.com/doc/5.4/components/options_resolver.html

Source:

Also, the default values of the options are buried in the business logic of your
code. Use the :phpfunction:`array_replace` to fix that::

Page:

Also, the default values of the options are buried in the business logic of your code. Use theICON
array_replace to fix that:

Source:

Like before, all options will be guaranteed to be set. Additionally, an
:class:`Symfony\\Component\\OptionsResolver\\Exception\\UndefinedOptionsException`
is thrown if an unknown option is passed::

Page:

Like before, all options will be guaranteed to be set. Additionally, anICON
UndefinedOptionsException is thrown if an unknown option is passed:

@OskarStark
Copy link
Contributor

Thanks for this issue

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

No branches or pull requests

2 participants