summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/todonotes/todonotes.sty')
-rw-r--r--Master/texmf-dist/tex/latex/todonotes/todonotes.sty5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
index 7b9a76d30bb..9bdd208a721 100644
--- a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
+++ b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{todonotes}
- [2018/11/22 v1.1.1 Todonotes source and documentation.]
+ [2019/01/24 v1.1.2 Todonotes source and documentation.]
\ProvidesPackage{todonotes}[2018/11/22]
\RequirePackage{ifthen}
@@ -533,6 +533,9 @@ prior to loading the todonotes package.} \else\fi%
\fi
}
\newcommand{\todo}[2][]{%
+ % Needed to output any dangling \item of a noskip section (see #36):
+ \if@inlabel \leavevmode \fi
+ \if@noskipsec \leavevmode \fi
\if@todonotes@inlinepar
\ifhmode
\@bsphack