Fix untranslated help text in Launch Instance window
- Source tab
Flow context is not allowed to write to inner phrasing content,
At the moment untranslation is occurred by a incorrect value of .html().
<p translate><li>yyy</li></p> -> elem.html() // value is ''
<p translate>xxx<li>yyy</li></p> -> elem.html() // value is 'xxx'
This phenomenon is caused by below.
html in html file
<p translate><li>yyy</li>xxx</p>
html rendered in browser
<p tramslate></p><li>yyy</li><p></p>
Reviewed: https:/ /review. openstack. org/349442 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=e3ef7ae51ca a91dc7365e6ded6 34387f59141c43
Committed: https:/
Submitter: Jenkins
Branch: master
commit e3ef7ae51caa91d c7365e6ded63438 7f59141c43
Author: Kenji Ishii <email address hidden>
Date: Mon Aug 1 19:04:08 2016 +0900
Fix untranslated help text in Launch Instance window
- Source tab <li>yyy< /li></p> -> elem.html() // value is '' xxx<li> yyy</li> </p> -> elem.html() // value is 'xxx'
Flow context is not allowed to write to inner phrasing content,
At the moment untranslation is occurred by a incorrect value of .html().
<p translate>
<p translate>
This phenomenon is caused by below.
html in html file <li>yyy< /li>xxx< /p>
<p translate>
html rendered in browser </p><li> yyy</li> <p></p>
<p tramslate>
- Security Groups tab
'&' needs html escape
Change-Id: Ic414d232063cc1 2333ac2d70fd8f3 51a35a00b6d
Closes-Bug: #1561558