Skip to content

Commit

Permalink
remove duplicate XML declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
GuntherRademacher committed Feb 1, 2025
1 parent 4a58016 commit 96ffa93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin/default"/>
</classpath>
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {
defaultTasks 'build'
build.dependsOn 'distZip'

version = '0.68'
version = '0.69-SNAPSHOT'
group = 'de.bottlecaps.ebnf-convert'
def buildTime = new Date()
def rrVersion = '2.2'
Expand Down
1 change: 0 additions & 1 deletion src/main/java/de/bottlecaps/convert/ConvertServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ public void doPost(HttpServletRequest request, HttpServletResponse response)
fragment =
"<h4>W3C-style&#160;grammar:</h4>\n" +
"<textarea name=\"text\">" +
escapeXmlContent("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n") +
escapeXmlContent(ebnfGrammar) +
"</textarea>\n";
}
Expand Down

0 comments on commit 96ffa93

Please sign in to comment.