4b043a2a82
DEV: refactor morphed preview specs
2024-04-10 10:36:20 +02:00
377d2ca3ad
FIX: keep details open in preview ( #26518 )
...
when morphing is enabled, details elements in the preview will be kept open
2024-04-04 18:43:25 +02:00
4c860995e0
DEV: Remove unnecessary rails_helper requiring ( #26364 )
2024-03-26 11:32:01 +01:00
055310cea4
DEV: Apply syntax_tree formatting to plugins/*
2023-01-07 11:11:37 +00:00
493d437e79
Add RSpec 4 compatibility ( #17652 )
...
* Remove outdated option
04078317ba
* Use the non-globally exposed RSpec syntax
https://github.com/rspec/rspec-core/pull/2803
* Use the non-globally exposed RSpec syntax, cont
https://github.com/rspec/rspec-core/pull/2803
* Comply to strict predicate matchers
See:
- https://github.com/rspec/rspec-expectations/pull/1195
- https://github.com/rspec/rspec-expectations/pull/1196
- https://github.com/rspec/rspec-expectations/pull/1277
2022-07-28 10:27:38 +08:00
2fc70c5572
DEV: Correctly tag heredocs ( #16061 )
...
This allows text editors to use correct syntax coloring for the heredoc sections.
Heredoc tag names we use:
languages: SQL, JS, RUBY, LUA, HTML, CSS, SCSS, SH, HBS, XML, YAML/YML, MF, ICS
other: MD, TEXT/TXT, RAW, EMAIL
2022-02-28 20:50:55 +01:00
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
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