Commit graph

12 commits

Author SHA1 Message Date
Matthias Pfefferle
bc8cb19c5d add an option to disable content filters 2023-01-31 18:43:11 +01:00
Matthias Pfefferle
a55dc90379 fix length 2023-01-23 21:13:50 +01:00
Matthias Pfefferle
c93f02615d always escape output 2023-01-23 20:59:39 +01:00
Matthias Pfefferle
fe4e0961c8 I would keep it simple for now 2023-01-23 20:47:02 +01:00
Matthias Pfefferle
d4b88f228d mastodon sadly does not support target on links
See https://github.com/mastodon/mastodon/blob/main/lib/sanitize_ext/sanitize_config.rb#L77
2023-01-23 20:24:03 +01:00
Matthias Pfefferle
3666f89f6e with shortcode_atts there is no need to check if attr is set 2023-01-23 20:11:18 +01:00
Matthias Pfefferle
75cc35c66e I think it is enough to check if $post or $post_id is set 2023-01-23 20:08:06 +01:00
Matthias Pfefferle
aec21a489c coding standards 2023-01-23 19:43:34 +01:00
Greg
71f3a47589 Converted shortcode class to static.
And added options for shortlink/permalink type.
2023-01-23 11:59:13 -05:00
Greg
3a82891948 Minor cleanups. 2023-01-22 11:27:13 -05:00
Greg
740a73b00f Add size attribute to the image shortcode. 2023-01-22 01:25:50 -05:00
Greg
b5fa16b464 Move the shortcodes to their own class. 2023-01-22 01:13:46 -05:00