We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When my text contains: & in the header it returns an error. My Parsedown version is 1.8.0-beta-7
&
1.8.0-beta-7
protected function inlineSpecialCharacter($Excerpt) { if ($Excerpt['text'][1] !== ' ' and strpos($Excerpt['text'], ';') !== false and preg_match('/^&(#?+[0-9a-zA-Z]++);/', $Excerpt['text'], $matches) ) { return array( 'element' => array('rawHtml' => '&' . $matches[1] . ';'), 'extent' => strlen($matches[0]), ); } return; }
I solved it by overwriting the function
protected function inlineSpecialCharacter($Excerpt) { if(!isset($Excerpt['text'][1])) return; ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When my text contains:
&
in the header it returns an error. My Parsedown version is1.8.0-beta-7
I solved it by overwriting the function
The text was updated successfully, but these errors were encountered: