BrokenEagle
a4ab165de7
Add alignment attributes for embedded notes
...
- justify-conent is for L-R alignment
- align-items is for T-B alignment
2020-04-04 02:10:33 +00:00
evazion
07a0b0b175
config: eliminate hostnames config option.
...
Eliminate the Danbooru.config.hostnames option. It was only used for
rewriting links in notes. Just using the main hostname is good enough,
there aren't any notes still using any of Danbooru's alternate domain
names.
2020-01-11 00:59:25 -06:00
evazion
309821bf73
rubocop: fix various style issues.
2019-12-22 21:23:37 -06:00
evazion
07116d1445
Mark links in notes and fetch source data box as external.
2019-10-13 18:53:46 -05:00
evazion
ff62b63bab
notes: whitelist the 'mask' css property.
...
ref: https://danbooru.donmai.us/forum_topics/9127?page=266#forum_post_153530
2018-12-29 12:08:02 -06:00
evazion
1fe6a5fc65
Fix #3225 : Exception in NoteSanitizer#relativize_links.
2017-07-19 21:13:04 -05:00
evazion
8c7c2a06e5
notes: convert internal links to Danbooru to relative urls.
2017-06-17 11:57:32 -05:00
evazion
91ed793120
notes: mark links as nofollow.
2017-06-15 22:58:22 -05:00
evazion
845b278b1e
notes: make allowed css properties explicit.
2017-06-15 22:58:22 -05:00
evazion
9570bf026c
notes: allow <rtc>, <sub>, <sup>, <hr>, <wbr> tags.
2017-06-15 22:58:22 -05:00
evazion
869ccad6ba
notes: allow all elements to have style/title attributes.
2017-06-15 22:58:14 -05:00
evazion
990f173b3d
notes: move sanitization from d_text.rb to note_sanitizer.rb.
2017-06-15 22:58:13 -05:00