Legacy Knowledge Base
Published Jul. 2, 2025

The source code format is misaligned in the AlloyEditor

Written By

Thanga Meena

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • When updating the DXP 7.1 instance patch level from de-17 to de-20, the code view shows the misaligned format of the tags in the editor of the web content. To format it again, every time while editing the code, manual effort is required.

Environment

  • Liferay DXP 7.1

Resolution

  • It's a known bug at fix pack 20 patch level. Whereas this issue gets fixed with the Fix Pack 22. [Note: At the time of documenting the latest DXP 7.1 Fix Pack is de-22 ]. That is "the format of the code view in the editor looks good and aligned properly while editing it".

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base