Skip to content

Documents with sdt tags break content ordering #27

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

Merged
merged 4 commits into from
May 21, 2013
Merged

Documents with sdt tags break content ordering #27

merged 4 commits into from
May 21, 2013

Conversation

jlward
Copy link
Contributor

@jlward jlward commented May 20, 2013

sdt (Inline-Level Structured Document) tags hold p tags. If there are any sdt tags, due to look ahead for tables and lists, the content will show up at the end of the document. This behaviour is not correct.

@ghost ghost assigned jlward May 20, 2013
@jlward
Copy link
Contributor Author

jlward commented May 21, 2013

Depends on #25

Conflicts:
	pydocx/DocxParser.py
expected_output = '''
<html><body>
<ol data-list-type="decimal">
<li>AAA<br/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I gather from this, it looks like this should be in-line and not have a <br /> separating the two parts. Do you have any example document to verify this with?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will also be handled in #30

@winhamwr
Copy link
Contributor

Looks good.

jlward added a commit that referenced this pull request May 21, 2013
Documents with sdt tags break content ordering
@jlward jlward merged commit 262cdd1 into master May 21, 2013
jlward added a commit that referenced this pull request Mar 14, 2014
Documents with sdt tags break content ordering
jlward added a commit that referenced this pull request Mar 14, 2014
Documents with sdt tags break content ordering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants