Details
-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: Aptana Studio 3.0.2, Aptana Studio 3.0.3
-
Fix Version/s: Aptana Studio 3.0.4
-
Component/s: None
-
Labels:None
Description
using the sample:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html dir="ltr" lang="en-US">
|
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<script type="text/javascript">
|
function setVersion(siteXml, selector) {
|
}
|
</script>
|
<style type="text/css"> .version {
|
text-align: center;
|
}
|
</style>
|
</head>
|
<body class="page page-id-1233 page-child parent-pageid-5 page-template page-template-interior_download-php">
|
</body>
|
</html>
|
- Select All (the whole file)
- Format
formatting it gives:
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html dir="ltr" lang="en-US">
|
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<script type="text/javascript">function setVersion(siteXml, selector) {
|
}</script>
|
<style type="text/css"> .version {
|
text-align: center;
|
}
|
</style>
|
</head>
|
<body class="page page-id-1233 page-child parent-pageid-5 page-template page-template-interior_download-php"></body>
|
</html>
|
This makes formatting unusable for HTML. .version should be on a new line, and the </style> is not indented correctly.
Hopefully a small fix.
Attachments
Issue Links
- relates to
-
APSTUD-2921 JS embedded in HTML does not properly indent around tags (when selected)
-
- Closed
-