Skip to content

Commit

Permalink
feat(packages): only call 'noindent' if language is english
Browse files Browse the repository at this point in the history
  • Loading branch information
jodros committed Feb 6, 2024
1 parent ebdbcc9 commit ac421f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/book.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function class:registerCommands ()
SILE.call("nofoliothispage")
-- English typography (notably) expects the first paragraph under a section
-- not to be indented. Frenchies, don't use this class :)
SILE.call("noindent")
if lang == "en" then SILE.call("noindent") end
end, "Begin a new chapter")

self:registerCommand("section", function (options, content)
Expand Down

0 comments on commit ac421f5

Please sign in to comment.