From c21dbfe8d23913eda615636046311df587aad0ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Su=C3=A1rez?= Date: Tue, 19 Nov 2019 19:05:07 -0300 Subject: [PATCH] Post Title: fix special chars (#18616) This commit ensures setting rightly of the title content. --- packages/editor/src/components/post-title/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/editor/src/components/post-title/index.js b/packages/editor/src/components/post-title/index.js index d5f81b5d143c8..734f863c85637 100644 --- a/packages/editor/src/components/post-title/index.js +++ b/packages/editor/src/components/post-title/index.js @@ -3,7 +3,7 @@ */ import Textarea from 'react-autosize-textarea'; import classnames from 'classnames'; -import { get } from 'lodash'; +import { get, escape, unescape } from 'lodash'; /** * WordPress dependencies @@ -123,7 +123,7 @@ class PostTitle extends Component {