This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257934 - Incorrect JSP indentation when inserting variable into attribute name
Summary: Incorrect JSP indentation when inserting variable into attribute name
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 8.1
Hardware: PC Windows 8.1
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 08:48 UTC by jan-tosovsky-cz
Modified: 2016-02-11 08:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jan-tosovsky-cz 2016-02-11 08:48:48 UTC
When the following example is formatted (Alt+Shift+F), that end attribute is shifted one tab to the left.

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
    int max = 5;
%>

<c:forEach 
    var="i" 
    begin="1" 
end="<%= max%>">

    Item <c:out value="${i}"/><p/>
</c:forEach>