![]() Fixes COMMS-1061 Test Plan: * Create a new wiki page in one of your courses. In this wiki page, insert any image, select the image, and add a hyperlink to the image. Then save and publish the wiki page. * Open up the rails console and run the follow commands: include HtmlTextHelper w = WikiPage.find <id_of_newly_created_wiki_page> puts html_to_text(w.body) * Copy the text that was printed out there, and email it to a gmail address (such as your instructure address) * Wait for it to be delivered, and open the email in the gmail web client. Verify that you can click on the image link and the ahref link, and they both work and take you to where you expect to go Change-Id: I5495f76c7f93f93b35c48ecfacffa9ab005017bb Reviewed-on: https://gerrit.instructure.com/148306 Tested-by: Jenkins Reviewed-by: Aaron Kc Hsu <ahsu@instructure.com> Reviewed-by: Venk Natarajan <vnatarajan@instructure.com> QA-Review: Steven Burnett <sburnett@instructure.com> Product-Review: Steven Burnett <sburnett@instructure.com> |
||
---|---|---|
.. | ||
html_text_helper_spec.rb | ||
spec_helper.rb |