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

Remove empty space after colon #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liurxliu
Copy link
Collaborator

@liurxliu liurxliu commented Sep 7, 2023

No description provided.

Comment on lines +218 to +223
if (preg_match('/[A-Z]\w+; /', $line)) {
$line = preg_replace('/([A-Z]\w+;) /', '$1', $line);
$result = $this->parseLine($line);
if ($result) {
$prevNode = $component->add($result);
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It will throw the exception, for example with 2 empty space. Not sure if we should cover it or let it fails

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