Skip to content

Conversation

@nikophil
Copy link
Collaborator

Hello there!

here is a fix for symfony/symfony-docs#17587

I had hard time understanding the problem was only occurring for code of type "text"!

cheers!

@nikophil nikophil requested a review from weaverryan December 29, 2022 10:37
@nikophil nikophil force-pushed the fix/escape-in-text-code branch from dae4c79 to 3407885 Compare December 29, 2022 10:37
return \in_array($lang, $supportedLanguages, true);
}

private function getLines(string $code): array
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

was not used anywhere

Copy link
Contributor

@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.

Awesome 😎

@javiereguiluz
Copy link
Collaborator

Very nice fix! Thanks Nicolas.

@javiereguiluz
Copy link
Collaborator

Thank you @nikophil.

@javiereguiluz javiereguiluz merged commit 8420c68 into main Dec 30, 2022
@javiereguiluz javiereguiluz deleted the fix/escape-in-text-code branch December 30, 2022 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants