mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 00:13:47 +03:00
fix fetching errata after html changed
This commit is contained in:
parent
e58fe31dd1
commit
4819180de1
2 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,7 @@ func main() {
|
||||||
xcheckf(err, "write")
|
xcheckf(err, "write")
|
||||||
|
|
||||||
// We will visit the html nodes. We skip <form>'s. We turn on text
|
// We will visit the html nodes. We skip <form>'s. We turn on text
|
||||||
// output when we encounter an h3, and we stop again when we see a div
|
// output when we encounter an h4, and we stop again when we see a div
|
||||||
// or form. This works at the moment, but may break in the future.
|
// or form. This works at the moment, but may break in the future.
|
||||||
output := false
|
output := false
|
||||||
var walk func(*html.Node)
|
var walk func(*html.Node)
|
||||||
|
@ -39,7 +39,7 @@ func main() {
|
||||||
if n.Data == "form" {
|
if n.Data == "form" {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !output && n.Data == "h3" {
|
if !output && n.Data == "h4" {
|
||||||
output = true
|
output = true
|
||||||
} else if output && (n.Data == "div" || n.Data == "form") {
|
} else if output && (n.Data == "div" || n.Data == "form") {
|
||||||
output = false
|
output = false
|
||||||
|
|
|
@ -194,6 +194,7 @@ Also see IANA assignments, https://www.iana.org/protocols
|
||||||
6855 IMAP Support for UTF-8
|
6855 IMAP Support for UTF-8
|
||||||
6858 Simplified POP and IMAP Downgrading for Internationalized Email
|
6858 Simplified POP and IMAP Downgrading for Internationalized Email
|
||||||
7162 IMAP Extensions: Quick Flag Changes Resynchronization (CONDSTORE) and Quick Mailbox Resynchronization (QRESYNC)
|
7162 IMAP Extensions: Quick Flag Changes Resynchronization (CONDSTORE) and Quick Mailbox Resynchronization (QRESYNC)
|
||||||
|
7162-eid5055 errata: space after untagged OK
|
||||||
7377 IMAP4 Multimailbox SEARCH Extension
|
7377 IMAP4 Multimailbox SEARCH Extension
|
||||||
7888 IMAP4 Non-synchronizing Literals
|
7888 IMAP4 Non-synchronizing Literals
|
||||||
7889 The IMAP APPENDLIMIT Extension
|
7889 The IMAP APPENDLIMIT Extension
|
||||||
|
|
Loading…
Reference in a new issue