-
Notifications
You must be signed in to change notification settings - Fork 3
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
Allow <embed> elements to be converted properly, fix blockquote format #25
Conversation
Need to investigate why I had to modify the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👻
src/class-block-converter.php
Outdated
public function convert_with_children( DOMNode $node ): string { | ||
$children = ''; | ||
|
||
// Recursively convert the children of the blockquote to blocks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blockquotes only, or might this be used for other blocks as well?
Fixes #24. Fixes #23
Will convert a string such as:
to a block:
Relates to #14. Also using this as a PR to upgrade the package's dependencies and align the actions to the organization's standards. The tests are now powered by a data provider.