* Fix regressions from #2683 Properly format spoiler text HTML, while keeping old logic for blankness intact Process hashtags and mentions in spoiler text Format spoiler text for Atom Change "show more" toggle into a button instead of anchor Fix style regression on dropdowns for detailed statuses * Fix lint issue * Convert spoiler text to plaintext in desktop notifications
This commit is contained in:
parent
65027657ec
commit
72698bc3b4
14 changed files with 88 additions and 49 deletions
|
@ -3,9 +3,12 @@ import { length } from 'stringz';
|
|||
import { default as dateFormat } from 'date-fns/format';
|
||||
import distanceInWordsStrict from 'date-fns/distance_in_words_strict';
|
||||
import { delegate } from 'rails-ujs';
|
||||
import Rails from 'rails-ujs';
|
||||
|
||||
require.context('../images/', true);
|
||||
|
||||
Rails.start();
|
||||
|
||||
const parseFormat = (format) => format.replace(/%(\w)/g, (_, modifier) => {
|
||||
switch (modifier) {
|
||||
case '%':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue