[wp-meta] [Making WordPress.org] #7466: <span aria-hidden="true"> in <meta name="description"> breaks layout

Making WordPress.org noreply at wordpress.org
Wed Feb 14 03:42:11 UTC 2024


#7466: <span aria-hidden="true"> in <meta name="description"> breaks layout
----------------------------+--------------------
 Reporter:  takayukister    |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:
Component:  Support Forums  |   Keywords:
----------------------------+--------------------
 See this forum topic:
 https://ja.wordpress.org/support/topic/%e3%83%8f%e3%83%b3%e3%82%ac%e3%83%bc%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%81%ae%e7%b7%a8%e9%9b%86%e6%96%b9%e6%b3%95%e3%81%8c%e5%88%86%e3%81%8b%e3%82%89%e3%81%9a%e5%9b%b0%e3%81%a3%e3%81%a6%e3%81%84/

 It seems the user input "→", the system wrapped it with
 {{{
 <span aria-hidden="true"></span>
 }}}
 , then it was included into
 {{{
 <meta name="description">
 }}}
 and
 {{{
 <meta name="og:description">
 }}}
 contents without being escaped.


 {{{
 <meta name="og:description" content="ハンガーメニューの編集方法が分からず
 困っています。関連ありそうな部分としては外観<span aria-
 hidden="true">→</span>ウィジェットに…" />
 <meta name="description" content="ハンガーメニューの編集方法が分からず困っ
 ています。関連ありそうな部分としては外観<span aria-hidden="true">→</span>
 ウィジェットに…" />
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7466>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list