Strip full line bold/italics in hyperlinks #9

Merged
merged 5 commits into from Jan 23, 2013

Conversation

Projects
None yet
2 participants
Member

jlward commented Jan 23, 2013

No description provided.

jlward was assigned Jan 22, 2013

@jlward jlward added a commit that referenced this pull request Jan 23, 2013

@jlward jlward refs #9: updated readme file to be valid rest 5ea4e3b

@winhamwr winhamwr commented on the diff Jan 23, 2013

docx2html/tests/test_xml.py
))
xml = DOCUMENT_XML_TEMPLATE % {
'body': table,
}
return etree.fromstring(xml)
+
+
+class HyperlinkTestCase(_TranslationTestCase):
+ relationship_dict = {
+ 'rId0': 'www.google.com',
+ }
+
+ expected_output = '''
+ <html>
+ <p><a href="www.google.com">link</a></p>
+ </html>
+ '''
+
+ def get_xml(self):
@winhamwr

winhamwr Jan 23, 2013

Owner

I would prefer two tests. One for the vanilla route and one that makes it explicitly that we're stripping bold.

@jlward jlward added a commit that referenced this pull request Jan 23, 2013

@jlward jlward Merge pull request #9 from PolicyStat/issue_9
Strip full line bold/italics in hyperlinks
56d2a64

@jlward jlward merged commit 56d2a64 into master Jan 23, 2013

@jlward jlward added a commit that referenced this pull request Mar 14, 2014

@jlward jlward refs #9: no longer add styles to hyperlinks 1f2ec99

@jlward jlward added a commit that referenced this pull request Mar 14, 2014

@jlward jlward refs #9: updated readme file to be valid rest 06db37f

@jlward jlward added a commit that referenced this pull request Mar 14, 2014

@jlward jlward refs #9: updated readme file to be valid rest 34160f4

@jlward jlward added a commit that referenced this pull request Mar 14, 2014

@jlward jlward refs #9: added a vanilla test case f1fbee6

@jlward jlward added a commit that referenced this pull request Mar 14, 2014

@jlward jlward Merge pull request #9 from PolicyStat/issue_9
Strip full line bold/italics in hyperlinks
9ea6d20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment