mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 02:16:40 -05:00
Fix sites:update test on Windows
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Sites
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
#include "./.sites/_table.md"
|
||||
# Sites
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
#include "./.sites/_table.md"
|
||||
|
||||
@@ -16,15 +16,15 @@ export class HTMLTable {
|
||||
}
|
||||
|
||||
toString() {
|
||||
let output = '<table>\n'
|
||||
let output = '<table>\r\n'
|
||||
|
||||
output += ' <thead>\n <tr>'
|
||||
output += ' <thead>\r\n <tr>'
|
||||
for (const column of this.columns) {
|
||||
output += `<th align="left">${column.name}</th>`
|
||||
}
|
||||
output += '</tr>\n </thead>\n'
|
||||
output += '</tr>\r\n </thead>\r\n'
|
||||
|
||||
output += ' <tbody>\n'
|
||||
output += ' <tbody>\r\n'
|
||||
for (const item of this.data) {
|
||||
output += ' <tr>'
|
||||
let i = 0
|
||||
@@ -35,9 +35,9 @@ export class HTMLTable {
|
||||
output += `<td${align}${nowrap}>${item[prop]}</td>`
|
||||
i++
|
||||
}
|
||||
output += '</tr>\n'
|
||||
output += '</tr>\r\n'
|
||||
}
|
||||
output += ' </tbody>\n'
|
||||
output += ' </tbody>\r\n'
|
||||
|
||||
output += '</table>'
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
# Sites
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th align="left">Site</th><th align="left">Status</th><th align="left">Notes</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><a href="sites/iltalehti.fi">iltalehti.fi</a></td><td>🟡</td><td>https://github.com/iptv-org/epg/issues/2396</td></tr>
|
||||
<tr><td><a href="sites/indihometv.com">indihometv.com</a></td><td>🟢</td><td></td></tr>
|
||||
<tr><td><a href="sites/kan.org.il">kan.org.il</a></td><td>🔴</td><td>https://github.com/iptv-org/epg/issues/2273</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
# Sites
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th align="left">Site</th><th align="left">Status</th><th align="left">Notes</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><a href="sites/iltalehti.fi">iltalehti.fi</a></td><td>🟡</td><td>https://github.com/iptv-org/epg/issues/2396</td></tr>
|
||||
<tr><td><a href="sites/indihometv.com">indihometv.com</a></td><td>🟢</td><td></td></tr>
|
||||
<tr><td><a href="sites/kan.org.il">kan.org.il</a></td><td>🔴</td><td>https://github.com/iptv-org/epg/issues/2273</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Sites
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
#include "tests/__data__/output/.sites/_table.md"
|
||||
# Sites
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
#include "tests/__data__/output/.sites/_table.md"
|
||||
|
||||
Reference in New Issue
Block a user