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
$ composer update
All parsing should be consistent with inline elements such as bold, regardless of restricted, lite or block elements off.
Given _hello_ *there*? as input, the output should always be <em>hello</em> <strong>there</strong>?
_hello_ *there*?
<em>hello</em> <strong>there</strong>?
When using setRestricted, setLite, setBlockTags(false) and setImages, the output is <em>hello</em> *there*?
<em>hello</em> *there*?
>>> $parser = new \Netcarver\Textile\Parser(); => Netcarver\Textile\Parser {#2999} >>> $parser->parse('_hello_ *there*?'); => "<p><em>hello</em> <strong>there</strong>?</p>" >>> $parser->setBlockTags(false)->parse('_hello_ *there*?'); => "<em>hello</em> *there*?" >>> $parser->setRestricted(true)->parse('_hello_ *there*?'); => "<em>hello</em> *there*?" >>> $parser->setLite(true)->parse('_hello_ *there*?'); => "<em>hello</em> *there*?" >>> $parser->setImages(false)->parse('_hello_ *there*?'); => "<em>hello</em> *there*?"
PHP-Textile version: 3.7.3 PHP version: 7.3.11
The text was updated successfully, but these errors were encountered:
d2046f3
Update changelog
3104a34
Closes #198
gocom
No branches or pull requests
Prerequisites
$ composer update
?Expected behaviour
All parsing should be consistent with inline elements such as bold, regardless of restricted, lite or block elements off.
Given
_hello_ *there*?
as input, the output should always be<em>hello</em> <strong>there</strong>?
Actual behaviour
When using setRestricted, setLite, setBlockTags(false) and setImages, the output is
<em>hello</em> *there*?
Steps to reproduce
Additional information
PHP-Textile version: 3.7.3
PHP version: 7.3.11
The text was updated successfully, but these errors were encountered: