=================================================================== RCS file: /cvs/mandoc/mandoc.c,v retrieving revision 1.119 retrieving revision 1.120 diff -u -p -r1.119 -r1.120 --- mandoc/mandoc.c 2021/08/10 12:55:03 1.119 +++ mandoc/mandoc.c 2022/04/13 13:19:34 1.120 @@ -1,7 +1,7 @@ -/* $Id: mandoc.c,v 1.119 2021/08/10 12:55:03 schwarze Exp $ */ +/* $Id: mandoc.c,v 1.120 2022/04/13 13:19:34 schwarze Exp $ */ /* + * Copyright (c) 2011-2015, 2017-2022 Ingo Schwarze * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons - * Copyright (c) 2011-2015, 2017-2021 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -114,7 +114,7 @@ mandoc_escape(const char **end, const char **start, in * it only makes a difference in copy mode. */ - if (**end == 'E') + while (**end == 'E') ++*end; /*