Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

Deal with smartTag and links with multiple runs #20

Merged
merged 6 commits into from Mar 22, 2013
Merged

Deal with smartTag and links with multiple runs #20

merged 6 commits into from Mar 22, 2013

Conversation

jlward
Copy link
Contributor

@jlward jlward commented Mar 21, 2013

No description provided.

@ghost ghost assigned jlward Mar 21, 2013
@@ -749,6 +755,8 @@ def get_relationship_info(tree, media, image_sizes):
continue
# Store the target in the result dict.
target = el.get('Target')
if any(target.lower().endswith(ext) for ext in ['emf', 'wmf', 'svg']):
Copy link
Contributor

Choose a reason for hiding this comment

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

The update note should mention we're now ignoring these images and this should be a constant that's declared and commented as far as why they're ignored.

Copy link
Contributor

Choose a reason for hiding this comment

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

Need a test that these are ignored.

@jlward
Copy link
Contributor Author

jlward commented Mar 22, 2013

Dealt with @winhamwr review notes, merging this into master

jlward added a commit that referenced this pull request Mar 22, 2013
Deal with smartTag and links with multiple runs
@jlward jlward merged commit 907206b into master Mar 22, 2013
# hyperlink tag with its child run tag.
child_run_tag = el.find('%sr' % w_namespace)
if child_run_tag is None:
# hyperlink tags with its child run tag.
Copy link
Contributor

Choose a reason for hiding this comment

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

Read this again. We're getting child run tags (multiple)

jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
…un tags. In addition did some code cleanup.
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward added a commit that referenced this pull request Mar 14, 2014
Deal with smartTag and links with multiple runs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants