forked from LiveCarta/BookConverter
Change processing of <pre><code>
This commit is contained in:
@@ -557,10 +557,10 @@ class HTMLDocxPreprocessor:
|
||||
"""
|
||||
Function to find out:
|
||||
what header shouldn't be numbered and can be treated as introduction chapter
|
||||
|
||||
Assume header(s) to be introduction if:
|
||||
1. one header not numbered, before 1 numbered header
|
||||
2. it is first header from the top level list, and it equals to 'introduction'
|
||||
|
||||
Returns
|
||||
-------
|
||||
None
|
||||
@@ -665,6 +665,7 @@ class HTMLDocxPreprocessor:
|
||||
Function
|
||||
- process tags <li>.
|
||||
- unwrap <p> tags.
|
||||
|
||||
Returns
|
||||
-------
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user