Skip to content

Commit 7ae9bac

Browse files
authored
Add XHTML support (#681)
* Add XHTML support * Update output report
1 parent 0a34654 commit 7ae9bac

File tree

5 files changed

+65
-13
lines changed

5 files changed

+65
-13
lines changed

LANGUAGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ Wolfram (nb,wl)
348348
Wren (wren)
349349
XAML (xaml)
350350
Xcode Config (xcconfig)
351+
XHTML (xhtml,xhtm,xht)
351352
XMake (xmake.lua,xpack.lua)
352353
XML (xml)
353354
XML Schema (xsd)

SCC-OUTPUT-REPORT.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@
1313
<tbody><tr>
1414
<th>Go</th>
1515
<th>30</th>
16-
<th>25531</th>
16+
<th>25559</th>
1717
<th>1589</th>
1818
<th>524</th>
19-
<th>23418</th>
19+
<th>23446</th>
2020
<th>1758</th>
21-
<th>507695</th>
22-
<th>7367</th>
21+
<th>508177</th>
22+
<th>7371</th>
2323
</tr><tr>
2424
<td>processor/constants.go</td>
2525
<td></td>
26-
<td>13905</td>
26+
<td>13933</td>
2727
<td>1</td>
2828
<td>2</td>
29-
<td>13902</td>
29+
<td>13930</td>
3030
<td>0</td>
31-
<td>218087</td>
32-
<td>2149</td>
31+
<td>218569</td>
32+
<td>2153</td>
3333
</tr><tr>
3434
<td>processor/workers_test.go</td>
3535
<td></td>
@@ -324,15 +324,15 @@
324324
<tfoot><tr>
325325
<th>Total</th>
326326
<th>30</th>
327-
<th>25531</th>
327+
<th>25559</th>
328328
<th>1589</th>
329329
<th>524</th>
330-
<th>23418</th>
330+
<th>23446</th>
331331
<th>1758</th>
332-
<th>507695</th>
333-
<th>7367</th>
332+
<th>508177</th>
333+
<th>7371</th>
334334
</tr>
335335
<tr>
336-
<th colspan="9">Estimated Cost to Develop (organic) $740,666<br>Estimated Schedule Effort (organic) 12.27 months<br>Estimated People Required (organic) 5.36<br></th>
336+
<th colspan="9">Estimated Cost to Develop (organic) $741,596<br>Estimated Schedule Effort (organic) 12.28 months<br>Estimated People Required (organic) 5.37<br></th>
337337
</tr></tfoot>
338338
</table></body></html>

examples/language/xhtml.xhtml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4+
<!-- This is a comment -->
5+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6+
<head>
7+
<title>XHTML Example</title>
8+
</head>
9+
<body>
10+
<p>Hello, World!</p>
11+
</body>
12+
</html>

languages.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8161,6 +8161,17 @@
81618161
}
81628162
]
81638163
},
8164+
"XHTML": {
8165+
"extensions": ["xhtml", "xhtm", "xht"],
8166+
"line_comment": [],
8167+
"multi_line": [["<!--", "-->"]],
8168+
"quotes": [
8169+
{
8170+
"end": "\"",
8171+
"start": "\""
8172+
}
8173+
]
8174+
},
81648175
"XML": {
81658176
"extensions": ["xml"],
81668177
"line_comment": [],

processor/constants.go

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)