a5744cdf59
This PR allows data-* attributes in HTML to pass the santization process. For example, this allows integration with Embedly if the content includes HTML such as... <a class="embedly-card" href="http://www.instructure.com/" data-card-controls="0" data-card-type="article">Instructure</a> ...and the appropriate JS is loaded. Test Plan: - Edit a wiki page using the HTML editor and enter custom HTML5 code that includes data attributes - Verify the attributes exist in the HTML when the page is rendered Note: This is minor version upgrade to sanitize. It does not upgrade to 3.x or 4.x which could introduce more changes. |
||
---|---|---|
.. | ||
lib | ||
spec | ||
.rspec | ||
Gemfile | ||
html_text_helper.gemspec | ||
test.sh |