diff --git a/services/web/frontend/js/features/outline/outline-parser.js b/services/web/frontend/js/features/outline/outline-parser.js index dbd876cbcf..239ac3c48c 100644 --- a/services/web/frontend/js/features/outline/outline-parser.js +++ b/services/web/frontend/js/features/outline/outline-parser.js @@ -5,7 +5,7 @@ const COMMAND_LEVELS = { chapter: 30, addchap: 30, section: 40, - addsect: 40, + addsec: 40, subsection: 50, subsubsection: 60, paragraph: 70, diff --git a/services/web/test/frontend/features/outline/outline-parser.test.js b/services/web/test/frontend/features/outline/outline-parser.test.js index c0c3a8b419..7148675195 100644 --- a/services/web/test/frontend/features/outline/outline-parser.test.js +++ b/services/web/test/frontend/features/outline/outline-parser.test.js @@ -15,7 +15,7 @@ describe('OutlineParser', function () { \\chapter{Chapter} \\addchap{Chapter 2} \\section{Section 1} - \\addsect{Section 1b} + \\addsec{Section 1b} \\subsection{Subsection} \\subsubsection{Subsubsection} \\section{Section 2}