Skip to content

Commit

Permalink
Parser: strip spaces in setContextId()
Browse files Browse the repository at this point in the history
  • Loading branch information
xenocrat committed Oct 15, 2024
1 parent 0553966 commit 1bd10ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function getContextId(): string
public function setContextId($string): string
{
$id = str_replace(
['&', '<', '>', '"'],
['&', '<', '>', '"', ' '],
'',
strval($string)
);
Expand Down

0 comments on commit 1bd10ab

Please sign in to comment.