Summary: | <foo /> not properly autocompleted | ||
---|---|---|---|
Product: | quanta | Reporter: | Charles Phoenix <phoenixreads> |
Component: | general | Assignee: | András Manţia <amantia> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Charles Phoenix
2004-01-10 08:08:34 UTC
Subject: quanta_be: quanta/quanta CVS commit by amantia: Don't close unknown single tags. BTW, Quanta already tries to be a DTD indepentent XML & Script language editor. CCMAIL: 72292-done@bugs.kde.org M +1 -1 document.cpp 1.216.2.20 --- quanta/quanta/document.cpp #1.216.2.19:1.216.2.20 @@ -782,5 +782,5 @@ bool Document::xmlAutoCompletion(int lin } else if (string == ">" && !tagName.isEmpty() && tagName[0] != '!' && - tagName[0] != '/' && !tagName.endsWith("/") && + tagName[0] != '/' && !tagName.endsWith("/") && !s.endsWith("/>") && qConfig.closeTags && currentDTD(true)->family == Xml) //close unknown tags |