mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
for cross-referencing code/rfc, also linkify the errata
This commit is contained in:
@ -217,7 +217,7 @@ body { font-family: 'ubuntu mono', monospace; }
|
||||
for i, line := range strings.Split(string(buf), "\n") {
|
||||
if line == "" {
|
||||
line = "\n"
|
||||
} else if len(line) < 80 || strings.Contains(rfc.File, "-") {
|
||||
} else if len(line) < 80 || strings.Contains(rfc.File, "-") && i > 0 {
|
||||
line = htmltemplate.HTMLEscapeString(line)
|
||||
} else {
|
||||
t := strings.Split(line[80:], " ")
|
||||
|
Reference in New Issue
Block a user