Commit Graph

9 Commits

Author SHA1 Message Date
919c87a9ce FIX: Get only the correct collapse title in emails (#10228)
Previously, this would get every details block title from the entire post, for every details block.
2020-07-13 18:49:36 -07:00
9bff0882c3 FEATURE: Nokogumbo (#9577)
* FEATURE: Nokogumbo

Use Nokogumbo HTML parser.
2020-05-05 13:46:57 +10:00
463db22928 DEV: Add test.
Follow-up to bccd090cedd4f49b9a07958292baed462b8c1a1c.
2019-06-26 16:37:01 +03:00
3a1d99577e FIX: Replace details content with instruction. 2019-05-29 08:36:04 +08:00
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
3b06e5502b FIX: ensure we never send elided content via email 2018-02-08 00:01:11 +01:00
Sam
660d5e0a35 fix broken spec 2017-07-18 14:44:49 -04:00
1b986f2266 Fix the build. 2016-07-20 14:11:10 +08:00
d9d758aeeb add pretty-text tests for discourse-details plugin 2016-07-11 12:57:05 -04:00