-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inline paragraph block level replace bug (#131)
* Implement logic to replace the parent of an InlineParagraphBlock This block handles logic where the start and end fields occur inside the same paragraph. This works without issue unless the content being injected (i.e. WordML or HTML) is not allowed inside a Paragraph. When this occured an undefined method `next_element' for nil:NilClass exception would be throw because a parent paragraph could not be found. * Add integration test for InlineParagraphBlock parent replacement * Remove unneeded ParagraphBlock inheirentance from ImageBlock Inheiriting from the Block class is sufficent, and not as misleading. * Implement test to exercise inline image insertion This includes inline if and loop constructs.
- Loading branch information
1 parent
ac237ea
commit 4f6a059
Showing
6 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters