|
@ -4,7 +4,7 @@ class hyphenopoly extends Paged.Handler { |
|
|
} |
|
|
} |
|
|
beforeParsed(content) { |
|
|
beforeParsed(content) { |
|
|
|
|
|
|
|
|
// add lang fr to all sections
|
|
|
// add lang en-us to all sections
|
|
|
content.querySelectorAll("section").forEach(section => { |
|
|
content.querySelectorAll("section").forEach(section => { |
|
|
section.setAttribute("lang", "en-us") |
|
|
section.setAttribute("lang", "en-us") |
|
|
}) |
|
|
}) |
|
|