View Issue Details

IDProjectCategoryView StatusLast Update
0024621mantisbthtmlpublic2023-10-31 16:32
ReporterBenStoever Assigned Todregad  
Status closedResolutionfixed 
Product Version2.15.0 
Target Version2.26.0Fixed in Version2.26.0 
Summary0024621: Closing </div> tag missing in sign up page

There seems to be a closing </div> tag missing in the signup page ( and probably also in other pages the use the same functions from the layout API (e.g., login).

Steps To Reproduce

Run a validator with the sing up URL, e.g.:;acceptlanguage=&amp;

Errors 16 and 17 report the problem:

Error: End tag for body seen, but there were unclosed elements.
From line 124, column 1; to line 124, column 7

17.Error: Unclosed element div.
From line 39, column 1; to line 39, column 48
↩&lt;/style>↩&lt;div class=&quot;main-container&quot; id=&quot;main-container&quot;>↩&lt;div 
Additional Information

I came across this when adjusting the HTML code of MantisBT for use within our system and corporate design. For me, inserting an additional "echo '</div>';" before "layout_body_javascript();" in the function "layout_login_page_end()" in "core/layout_api.php" fixed the problem, but I'm not sure if that is the optimal position to put it.

TagsNo tags attached.




2018-07-21 08:17

reporter   ~0060288

Last edited: 2018-07-21 08:19

The large font sizes in "steps to reproduce" are not intended. Actually I wanted to put in horizontal lines. It seems like I do not have the privileges to edit this anymore.



2022-06-03 12:42

developer   ~0066687

Thanks for the bug report.

Related Changesets

MantisBT: master e03cf73b

2022-06-03 12:41


Details Diff
Fix indentation and add missing </div> tag

Fixes 0024621
Affected Issues
mod - signup_page.php Diff File