You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This also solves an issue where text coloring would be incorrect and sometimes hard to read in Safari. This change is purely about the additional styling we add to diffs -- rather than use `all: unset` in our CSS, we take a more precise approach and only reset certain styles, and do not apply most of those resets to the descendents of the `<ins>`/`<del>` elements (we only apply them to the elements themselves).
Fixes#24.
Copy file name to clipboardExpand all lines: docs/source/release-history.rst
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ In Development
11
11
12
12
- Improve handling of lazy-loaded images in :func:`web_monitoring_diff.html_diff_render`. When images are lazy-loaded via JS, they usually use the ``data-src`` or ``data-srcset`` attributes, and we now check those, too. Additionally, if two images have no detectable URLs, we now treat them as the same, rather than different. (`#37 <https://github.com/edgi-govdata-archiving/web-monitoring-diff/issues/37>`_)
13
13
14
+
- Stop showing inline scripts and styles in :func:`web_monitoring_diff.html_diff_render`. These still get wrapped with ``<del>`` or ``<ins>`` elements, but they don’t show up visually since they aren’t elements that should be visually rendered. (`#24 <https://github.com/edgi-govdata-archiving/web-monitoring-diff/issues/24>`_
0 commit comments