Copy and Pasting HTML code into Canvas, URL's Disappearing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
We've encountered an interesting error while trying to edit a sequence of HTML files for pages:
- We have been getting the body of individual pages from Get calls through Postman API.
- We've been copying this code to a Google Sheets spreadsheet for easy editing.
- We've been pasting the edited code back into Canvas via the HTML editor on individual pages (there's an issue with Put calls that we're trying to work on.
The issue arises whenever there's a URL in the edited code, such as for an img src tag. For example, the code
<h2 class="content-box pad-box-mini border border-trbl border-round" style="background-color: #d6d6d6; border: thin solid #fff;"><span style="font-family: LatoWeb, 'Helvetica Neue', Helvetica, Arial, sans-serif;"><img src="/courses/1486049/files/113498094/preview" alt="Book" width="32" height="32" /><span style="font-size: 14pt;"> <span style="color: #000000; font-size: 18pt;">Readings and Media</span></span></span></h2>
in the original becomes the following after we copy the text into the HTML page editor and save it:
<h2 class="\"content-box"><span><img alt="\"Book\"" width="\"32\"" height="\"32\"" /><span> <span>Readings and Media</span></span></span></h2>
Is it an issue with Canvas' HTML interpretation or is this something we can fix on our end?
Thank you,
William