redsunlib/templates
mikupls 768820cd4c
Render markdown correctly in text post previews by using selftext_html. (#335)
* Render markdown correctly in text post previews by using selftext_html.

I was mistakenly under the impression that we somehow render markdown ourselves, but turns out we just take whatever HTML reddit gives us, and we also need to do this for text previews.

Use CSS to limit the size of the previews instead of truncating in the template.

Fix table CSS.

* Fix post_body padding and trim post_previews

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-21 23:17:52 +00:00
..
base.html Add "open in reddit" button to all pages (#304) 2021-11-15 02:39:33 +00:00
comment.html Collapse (sticky) bot comments by default. (#321) 2021-11-19 05:42:53 +00:00
error.html Fix post flairs 2021-02-21 10:11:17 -08:00
post.html Add "open in reddit" button to all pages (#304) 2021-11-15 02:39:33 +00:00
search.html Lazy load images 2021-09-06 12:02:52 -07:00
settings.html Add setting to autoplay videos 2021-10-25 21:27:55 -07:00
subreddit.html Lazy load images 2021-09-06 12:02:52 -07:00
user.html Lazy load images 2021-09-06 12:02:52 -07:00
utils.html Render markdown correctly in text post previews by using selftext_html. (#335) 2021-11-21 23:17:52 +00:00
wall.html Added support for quarantined subreddits (#219) 2021-05-16 15:53:39 +00:00
wiki.html Move the subs list into the navbar. 2021-01-31 09:52:18 +11:00