-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed quote to heading transformation. (#5088)
This commit corrects the logic of quote to heading transform. The logic is now the following: If no citation and no content exist an empty heading is created. If citation exists but the content does not exist a heading is created with citation as the content. In other citations the first paragraph of the quote is transformed into and heading and new quote is created equal to the original but with the first paragraph removed. If the quote just contains one paragraph the new quote will contain just the citation.
- Loading branch information
1 parent
1076953
commit 0992d4e
Showing
1 changed file
with
29 additions
and
20 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