-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using p for htmlTag outputs incorrectly #3254
Comments
Just to be clear, if you only change |
The output is:
|
I am going to leave that one for the engineers closer to the code base sorry. Did you try to repeat in M2 GA? Is the problem still there? I agree that looks strange. |
We're in the process of upgrading our project to GA. I'll check again when the upgrade is done and report back. |
Thank you we have created MAGETWO-51319 to investigate and fix. |
@chicgeek Internal ticket was closed as "Not a bug". Feel free to reopen this issue If you have any additional comment. |
@olgalytvynenko @MomotenkoNatalia : Is there now going to be internal ticket raised for this to update both the docs and the M2 error which implies |
@chicgeek, sorry, probably I was not clear enough. There is no problem in Magento and information on devdocs is correct. If you look in source of your page (in Chrome you can do it by pressing So the block was rendered correctly. But placing |
[TSG] Backporting for 2.2 (pr48) (2.2.8)
Description
I have an XML file that creates a new container. It is using a
<p>
element, one of the valid element types forhtmlTag
. Using themove
directive, I relocatetop.search
into this new element.XML source
The XML:
HTML output
Expected markup output:
Actual markup output:
Notes
div
andul
. The block is nested in the new container as expected.Any valid HTML 5 tag
can be used forhtmlTag
, though this is not the case currently. This mismatch is partly covered in issue Cant set HtmlTag to "nav" #2549. M2 provides the error:Html tag "aside" is forbidden for usage in containers. Consider to use one of the allowed: dd, div, dl, fieldset, main, header, footer, ol, p, section, table, tfoot, ul.
The text was updated successfully, but these errors were encountered: