Skip to content

Fix escape character notation in RstCheatSheet#507

Merged
linawolf merged 3 commits intoTYPO3-Documentation:mainfrom
franzholz:patch-3
Feb 3, 2026
Merged

Fix escape character notation in RstCheatSheet#507
linawolf merged 3 commits intoTYPO3-Documentation:mainfrom
franzholz:patch-3

Conversation

@franzholz
Copy link
Contributor

Is the backslash working by this change?

Is the backslash working by this change?
Copy link
Contributor

@ineswillenbrock ineswillenbrock left a comment

Choose a reason for hiding this comment

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

Looks good to me

@linawolf linawolf merged commit 625cae0 into TYPO3-Documentation:main Feb 3, 2026
1 check passed
@franzholz franzholz deleted the patch-3 branch February 3, 2026 07:59
@franzholz
Copy link
Contributor Author

This does not work!

Source:

Escape characters
=================

If you want to use a character, which would create some special reST markup,
with its normal meaning, you must escape it with a prepended :rst:`\`.

The resulting document shows:

must escape it with a prepended :rst:``.

@franzholz franzholz restored the patch-3 branch February 6, 2026 16:58
@ineswillenbrock
Copy link
Contributor

ineswillenbrock commented Feb 9, 2026

Can confirm it while rendering locally. The first change at least rendered "\" while the proposed change is not working with the recent image, too.

edit: might it be, that packages/typo3-docs-theme/src/TextRoles/RestructuredTextTextRole.php line 24 is responsible?

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.

3 participants

Comments