From f40fdf483edec276831b0e3655dc63be0490bc92 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 10 Jun 2021 18:52:01 +0300 Subject: [PATCH] Hellthread(tm) Certified --- src/components/mention_link/mention_link.js | 3 - src/components/mention_link/mention_link.vue | 1 - src/components/rich_content/rich_content.jsx | 182 ++++++++++++++---- src/components/status/status.js | 3 + src/components/status/status.vue | 1 + src/components/status_body/status_body.js | 8 +- src/components/status_body/status_body.vue | 12 +- .../status_content/status_content.js | 1 + .../status_content/status_content.vue | 3 +- .../html_line_converter.service.js} | 30 +-- .../html_tree_converter.service.js} | 20 +- .../html_line_converter.spec.js} | 68 +++++-- .../html_tree_converter.spec.js} | 14 +- 13 files changed, 257 insertions(+), 89 deletions(-) rename src/services/{tiny_post_html_processor/tiny_post_html_processor.service.js => html_converter/html_line_converter.service.js} (72%) rename src/services/{mini_html_converter/mini_html_converter.service.js => html_converter/html_tree_converter.service.js} (83%) rename test/unit/specs/services/{tiny_post_html_processor/tiny_post_html_processor.spec.js => html_converter/html_line_converter.spec.js} (50%) rename test/unit/specs/services/{tiny_post_html_processor/mini_post_html_processor.spec.js => html_converter/html_tree_converter.spec.js} (91%) diff --git a/src/components/mention_link/mention_link.js b/src/components/mention_link/mention_link.js index 711c87d6..00b9e388 100644 --- a/src/components/mention_link/mention_link.js +++ b/src/components/mention_link/mention_link.js @@ -70,9 +70,6 @@ const MentionLink = { highlightClass () { if (this.highlight) return highlightClass(this.user) }, - oldPlace () { - return !this.mergedConfig.mentionsOwnLine - }, oldStyle () { return !this.mergedConfig.mentionsNewStyle }, diff --git a/src/components/mention_link/mention_link.vue b/src/components/mention_link/mention_link.vue index 281fab25..a65dbad3 100644 --- a/src/components/mention_link/mention_link.vue +++ b/src/components/mention_link/mention_link.vue @@ -1,7 +1,6 @@