]> cat aescling's git repositories - mastodon.git/commit
Fix exception when trying to serialize posts with <a> tags in them without hrefs...
authorBen Lubar <github@lubar.me>
Thu, 28 May 2020 10:47:40 +0000 (05:47 -0500)
committerGitHub <noreply@github.com>
Thu, 28 May 2020 10:47:40 +0000 (12:47 +0200)
commitead09f5ddc73034fcd573b459868dd1ca13b647a
treeed2f828f33f44268a05377b6907f7af37d253677
parentc8cee24cb34fadf5d3887346f5b9333e0036adf6
Fix exception when trying to serialize posts with <a> tags in them without hrefs (#1334)

* fix exception when trying to serialize posts with <a> tags in them without hrefs

* Add tests

Co-authored-by: Thibaut Girka <thib@sitedethib.com>
app/lib/sanitize_config.rb
app/lib/tag_manager.rb
spec/lib/sanitize_config_spec.rb