Skip to content
  • Mike Dalessio's avatar
    55bca6b8
    Update Action Text to use HTML5 when available · 55bca6b8
    Mike Dalessio authored
    The change from `#clone` to `#dup` is necessary to work around an
    issue in Nokogiri where `#clone` is not defined properly for HTML5
    fragment and the fragment does not have a parent Document. `#dup`
    behaves the way we expect, so this should be fine.
    55bca6b8
    Update Action Text to use HTML5 when available
    Mike Dalessio authored
    The change from `#clone` to `#dup` is necessary to work around an
    issue in Nokogiri where `#clone` is not defined properly for HTML5
    fragment and the fragment does not have a parent Document. `#dup`
    behaves the way we expect, so this should be fine.
Loading