From 21816515eada187511aeb14465675cf40d9ee1a1 Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Thu, 27 Jul 2017 23:25:02 +0700 Subject: [PATCH 1/2] fix #882 --- application/frontend/components/comment/css/comment.css | 1 + .../frontend/skin/synio/components/comment/css/comment.css | 1 + 2 files changed, 2 insertions(+) diff --git a/application/frontend/components/comment/css/comment.css b/application/frontend/components/comment/css/comment.css index 8252ec23..ecf232cc 100644 --- a/application/frontend/components/comment/css/comment.css +++ b/application/frontend/components/comment/css/comment.css @@ -20,6 +20,7 @@ margin-bottom: 2px; position: relative; background: #fafafa; + word-wrap: break-word; } .ls-comment--self { diff --git a/application/frontend/skin/synio/components/comment/css/comment.css b/application/frontend/skin/synio/components/comment/css/comment.css index b9a0992b..439f40c8 100644 --- a/application/frontend/skin/synio/components/comment/css/comment.css +++ b/application/frontend/skin/synio/components/comment/css/comment.css @@ -19,6 +19,7 @@ padding: 0 0 0 40px; margin-bottom: 25px; position: relative; + word-wrap: break-word; } .ls-comment--self .ls-comment-content { background: #fefef1; border-color: #e6e6bd; } From 20b707be6748f6709fe28ae33615449b13efc87f Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Thu, 27 Jul 2017 23:31:41 +0700 Subject: [PATCH 2/2] fix blog description --- application/frontend/components/blog/add.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/application/frontend/components/blog/add.tpl b/application/frontend/components/blog/add.tpl index ee5cfbc3..a63983f9 100644 --- a/application/frontend/components/blog/add.tpl +++ b/application/frontend/components/blog/add.tpl @@ -48,6 +48,7 @@ mediaTargetType = 'blog' mediaTargetId = $_aRequest.blog_id name = 'blog_description' + escape = false rules = [ 'required' => true, 'length' => '[10,3000]' ] inputClasses = 'js-editor-default' label = $aLang.blog.add.fields.description.label}