texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: user- prefix for @example args


From: Gavin D. Smith
Subject: branch master updated: user- prefix for @example args
Date: Sat, 09 Apr 2022 14:58:58 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new ea8df8d3dc user- prefix for @example args
ea8df8d3dc is described below

commit ea8df8d3dc6ff517d922cedb51b88a2b729bcacd
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Apr 9 19:58:47 2022 +0100

    user- prefix for @example args
    
    * tp/Texinfo/Convert/HTML.pm (_convert_preformatted_command):
    Prefix HTML class name from @example arg with 'user-'.
    * doc/texinfo.texi (@example): Document.
    * NEWS: Edit and update.
---
 ChangeLog                                          | 19 +++--
 NEWS                                               | 11 +++
 doc/texinfo.texi                                   |  8 ++-
 tp/Texinfo/Convert/HTML.pm                         |  2 +-
 .../html_tests/example_at_commands_arguments.pl    |  2 +-
 tp/t/results/html_tests/example_class.pl           |  2 +-
 tp/t/results/html_tests/example_empty_arguments.pl |  2 +-
 tp/t/results/html_tests/example_multi_class.pl     |  2 +-
 .../preformatted/text_on_example_command_line.pl   |  2 +-
 .../layout/res_parser/formatting/formatting.html   | 80 +++++++++++-----------
 .../layout/res_parser/formatting_chm/chapter.html  | 48 ++++++-------
 .../res_parser/formatting_chm/formatting.html      | 32 ++++-----
 .../formatting_enable_encoding/formatting.html     | 80 +++++++++++-----------
 .../EPUB/xhtml/formatting.xhtml                    | 80 +++++++++++-----------
 .../EPUB/xhtml/chapter.xhtml                       | 48 ++++++-------
 .../EPUB/xhtml/formatting.xhtml                    | 32 ++++-----
 .../res_parser/formatting_exotic/chapter.html      | 48 ++++++-------
 .../res_parser/formatting_fr_icons/formatting.html | 80 +++++++++++-----------
 .../res_parser/formatting_html/formatting.html     | 80 +++++++++++-----------
 .../formatting_html_no_texi2html/formatting.html   | 48 ++++++-------
 .../res_parser/formatting_html_nodes/chapter.html  | 48 ++++++-------
 .../res_parser/formatting_html_nodes/index.html    | 32 ++++-----
 .../formatting_inline_css/formatting.html          | 80 +++++++++++-----------
 .../res_parser/formatting_mathjax/formatting.html  | 80 +++++++++++-----------
 .../res_parser/formatting_nodes/chapter.html       | 48 ++++++-------
 .../layout/res_parser/formatting_nodes/index.html  | 32 ++++-----
 .../formatting_numerical_entities/formatting.html  | 80 +++++++++++-----------
 .../formatting_regions/formatting_regions.html     | 80 +++++++++++-----------
 .../formatting_weird_quotes/formatting.html        | 80 +++++++++++-----------
 .../res_parser/formatting_xhtml/formatting.html    | 80 +++++++++++-----------
 30 files changed, 685 insertions(+), 661 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index deb106fbd0..a3c3304b53 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-04-09  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       user- prefix for @example args
+
+       * tp/Texinfo/Convert/HTML.pm (_convert_preformatted_command):
+       Prefix HTML class name from @example arg with 'user-'.
+       * doc/texinfo.texi (@example): Document.
+       * NEWS: Edit and update.
+
 2022-04-09  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * doc/texinfo.tex (\domultitable): Zero \rightskip but keep
@@ -264,10 +273,12 @@
 
        Find first index entry under initial substring search
 
-       * info/next_index_match): Reset index search by setting index to -1
-       index instead of 0.  Otherwise the first index entry is skipped
-       when checking for initial substrings.  The very first index entry
-       in an Info file would not be found with a non-exact search.
+       * info/indices.c (next_index_match): Reset index search by
+       setting index to -1 index instead of 0.  Otherwise the first
+       index entry is skipped when checking for initial substrings.
+       The very first index entry in an Info file would not be found
+       with a non-exact search.
+
        Report from Sergey Matveev <stargrave@stargrave.org>.
 
 2022-03-06  Patrice Dumas  <pertusus@free.fr>
diff --git a/NEWS b/NEWS
index 8cd0901a58..d7a51535e6 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,8 @@ See the manual for detailed information.
    LOCALE_OUTPUT_ENCODING_NAME, LOCALE_INPUT_FILE_NAME_ENCODING,
    LOCALE_OUTPUT_FILE_NAME_ENCODING, DOC_ENCODING_FOR_INPUT_FILE_NAME, and
    DOC_ENCODING_FOR_OUTPUT_FILE_NAME
+ . thorough review of character encoding issues
+ . reform throughout the code in general
  . new customization variable NO_TOP_NODE_OUTPUT
  . rename COPIABLE_ANCHORS as COPIABLE_LINKS
  . L2H customization variable removed.  Replaced by HTML_MATH set to l2h.
@@ -37,11 +39,13 @@ See the manual for detailed information.
  . remove CSS_LINES customization variable and add SHOW_BUILTIN_CSS_RULES.
  . remove PRE_ABOUT, AFTER_ABOUT, add PROGRAM_NAME_IN_ABOUT.
  . HTML output:
+     . output only the CSS rules that are needed in an output file
      . use <code> tag for the output of @t instead of <tt>
      . systematic addition of classes attribute in HTML elements based on the
        Texinfo @-command names.  Renaming of class attributes to avoid
        confusion with @-commands formatting and describe the role in the
        document rather than the formatting style.
+     . classes from @example arguments are prefixed with 'user-'
      . do not add a title in the default case, SHOW_TITLE has to be set
        (or NO_TOP_NODE_OUTPUT). Set USE_TITLEPAGE_FOR_TITLE to true.
  . DocBook output:
@@ -49,6 +53,13 @@ See the manual for detailed information.
        @-command.  NO_TOP_NODE_OUTPUT can be set to false to output Top node
        for now.
 
+* info
+  . better support for index entries containing parentheses
+  . better support for getting bold text etc. when displaying manpages
+
+* texinfo.tex
+  . do not ignore @part page immediately following Top node
+
 6.8 (3 July 2021)
 * Language
   . new command @displaymath for formatting of mathematical notation
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index 5b0178cfaf..9bf8488e82 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -6717,9 +6717,11 @@ use the @code{@@r} command (@pxref{Fonts}).
 
 You may optionally give arguments to the @code{@@example} command,
 separated by commas if there is more than one.  In the HTML output,
-any such arguments are output as class names.  This may be useful for
-adding syntax highlighting to manuals for code samples.  We recommend
-that when you give multiple arguments to @code{@@example}, you
+any such arguments are output as class names, prefixed by the string
+@samp{user-}.  This may be useful for adding syntax highlighting to
+manuals for code samples.
+
+We recommend that when you give multiple arguments to @code{@@example}, you
 use the first argument to specify the language of the code (e.g.@:
 @samp{C}, @samp{lisp}, @samp{Cplusplus}).  You may find uses for other
 arguments, such as providing a formatting hint or marking code samples
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 1ed3bf3dfe..7ef3359b1a 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -3860,7 +3860,7 @@ sub _convert_preformatted_command($$$$$)
         my $converted_arg
           = Texinfo::Convert::NodeNameNormalization::convert($example_arg);
         if ($converted_arg ne '') {
-          push @classes, $converted_arg;
+          push @classes, 'user-' . $converted_arg;
         }
       }
     }
diff --git a/tp/t/results/html_tests/example_at_commands_arguments.pl 
b/tp/t/results/html_tests/example_at_commands_arguments.pl
index b8d6c527f7..7bd2c930e0 100644
--- a/tp/t/results/html_tests/example_at_commands_arguments.pl
+++ b/tp/t/results/html_tests/example_at_commands_arguments.pl
@@ -328,7 +328,7 @@ div.example {margin-left: 3.2em}
 </head>
 
 <body lang="en">
-<div class="example some-thing-ê-TeX-¡-----...-!_--_---_-&lt;-&quot;-&amp;--, 
@ 0">
+<div class="example 
user-some-thing-ê-TeX-¡-----...-!_--_---_-&lt;-&quot;-&amp;--, user-@ user-0">
 <pre class="example-preformatted">example with @-commands and other special 
characters
 </pre></div>
 
diff --git a/tp/t/results/html_tests/example_class.pl 
b/tp/t/results/html_tests/example_class.pl
index a17330c9d4..55417465c7 100644
--- a/tp/t/results/html_tests/example_class.pl
+++ b/tp/t/results/html_tests/example_class.pl
@@ -259,7 +259,7 @@ div.example {margin-left: 3.2em}
 </head>
 
 <body lang="en">
-<div class="example perl">
+<div class="example user-perl">
 <pre class="example-preformatted">foreach my $unclosed_file 
(keys(%unclosed_files)) {
   if (!close($unclosed_files{$unclosed_file})) {
     warn(sprintf(&quot;%s: error on closing %s: %s\\n&quot;,
diff --git a/tp/t/results/html_tests/example_empty_arguments.pl 
b/tp/t/results/html_tests/example_empty_arguments.pl
index 43be65f5b7..8237564c8c 100644
--- a/tp/t/results/html_tests/example_empty_arguments.pl
+++ b/tp/t/results/html_tests/example_empty_arguments.pl
@@ -460,7 +460,7 @@ div.example {margin-left: 3.2em}
 <pre class="example-preformatted">example with empty args with spaces
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
diff --git a/tp/t/results/html_tests/example_multi_class.pl 
b/tp/t/results/html_tests/example_multi_class.pl
index f79b09e4df..eb386c72b6 100644
--- a/tp/t/results/html_tests/example_multi_class.pl
+++ b/tp/t/results/html_tests/example_multi_class.pl
@@ -363,7 +363,7 @@ div.example {margin-left: 3.2em}
 </head>
 
 <body lang="en">
-<div class="example C++ gothic purple embed">
+<div class="example user-C++ user-gothic user-purple user-embed">
 <pre class="example-preformatted">void StateManager::deallocate() {
     if(buffer) {
         delete [] buffer;
diff --git a/tp/t/results/preformatted/text_on_example_command_line.pl 
b/tp/t/results/preformatted/text_on_example_command_line.pl
index 67030204f2..d6252b2118 100644
--- a/tp/t/results/preformatted/text_on_example_command_line.pl
+++ b/tp/t/results/preformatted/text_on_example_command_line.pl
@@ -441,7 +441,7 @@ 
$result_converted{'plaintext'}->{'text_on_example_command_line'} = '
 
 
 $result_converted{'html_text'}->{'text_on_example_command_line'} = '
-<div class="example text-on-line-followed-by-text">
+<div class="example user-text-on-line-followed-by-text">
 <pre class="example-preformatted">normal text
 </pre></div>
 
diff --git a/tp/tests/layout/res_parser/formatting/formatting.html 
b/tp/tests/layout/res_parser/formatting/formatting.html
index 3ba280e359..7ef3310880 100644
--- a/tp/tests/layout/res_parser/formatting/formatting.html
+++ b/tp/tests/layout/res_parser/formatting/formatting.html
@@ -1325,31 +1325,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1357,7 +1357,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2384,31 +2384,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2416,7 +2416,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3499,31 +3499,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3531,7 +3531,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4557,31 +4557,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4589,7 +4589,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5675,37 +5675,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5715,7 +5715,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_chm/chapter.html 
b/tp/tests/layout/res_parser/formatting_chm/chapter.html
index 8d7a8e8efb..5a00c0cc7d 100644
--- a/tp/tests/layout/res_parser/formatting_chm/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_chm/chapter.html
@@ -1325,31 +1325,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1357,7 +1357,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2383,31 +2383,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2415,7 +2415,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3501,37 +3501,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -3541,7 +3541,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting.html
index 6c3a1606dc..5a2f35185f 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting.html
@@ -1318,31 +1318,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1350,7 +1350,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2377,31 +2377,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2409,7 +2409,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
diff --git 
a/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.html 
b/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.html
index 7db0a2c2ee..9ea068c592 100644
--- a/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.html
@@ -1325,31 +1325,31 @@ i–tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something é TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1357,7 +1357,7 @@ i–tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2384,31 +2384,31 @@ i–tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something é TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2416,7 +2416,7 @@ i–tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3499,31 +3499,31 @@ i–tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something é TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3531,7 +3531,7 @@ i–tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4557,31 +4557,31 @@ i–tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something é TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4589,7 +4589,7 @@ i–tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5675,37 +5675,37 @@ error→ ↦ − ★ ⊣ ⇒
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something é TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5715,7 +5715,7 @@ error→ ↦ − ★ ⊣ ⇒
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git 
a/tp/tests/layout/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/formatting.xhtml
 
b/tp/tests/layout/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/formatting.xhtml
index 59f3c87bef..419e46af5c 100644
--- 
a/tp/tests/layout/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/formatting.xhtml
+++ 
b/tp/tests/layout/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/formatting.xhtml
@@ -1324,31 +1324,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1356,7 +1356,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2383,31 +2383,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2415,7 +2415,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3460,31 +3460,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3492,7 +3492,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4518,31 +4518,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4550,7 +4550,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5636,37 +5636,37 @@ error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5676,7 +5676,7 @@ error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git 
a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/chapter.xhtml
 
b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/chapter.xhtml
index 5120da63e7..d594131fc2 100644
--- 
a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/chapter.xhtml
+++ 
b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/chapter.xhtml
@@ -1330,31 +1330,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1362,7 +1362,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2388,31 +2388,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2420,7 +2420,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3506,37 +3506,37 @@ error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -3546,7 +3546,7 @@ error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git 
a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/formatting.xhtml
 
b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/formatting.xhtml
index 192cd46067..5df3b8f262 100644
--- 
a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/formatting.xhtml
+++ 
b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/formatting.xhtml
@@ -1321,31 +1321,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1353,7 +1353,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2380,31 +2380,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2412,7 +2412,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
diff --git a/tp/tests/layout/res_parser/formatting_exotic/chapter.html 
b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
index 154df85555..17dc73ebdd 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
@@ -1342,31 +1342,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1374,7 +1374,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2400,31 +2400,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2432,7 +2432,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3518,37 +3518,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -3558,7 +3558,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html 
b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
index 2ed6d7cbb0..4f05d7bf68 100644
--- a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
@@ -1325,31 +1325,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1357,7 +1357,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2384,31 +2384,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2416,7 +2416,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3499,31 +3499,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3531,7 +3531,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4557,31 +4557,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4589,7 +4589,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5675,37 +5675,37 @@ erreur&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5715,7 +5715,7 @@ erreur&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_html/formatting.html 
b/tp/tests/layout/res_parser/formatting_html/formatting.html
index 3ba280e359..7ef3310880 100644
--- a/tp/tests/layout/res_parser/formatting_html/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html/formatting.html
@@ -1325,31 +1325,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1357,7 +1357,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2384,31 +2384,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2416,7 +2416,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3499,31 +3499,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3531,7 +3531,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4557,31 +4557,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4589,7 +4589,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5675,37 +5675,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5715,7 +5715,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git 
a/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.html 
b/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.html
index 672fa2b700..97d6f10ceb 100644
--- a/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.html
@@ -1382,31 +1382,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1414,7 +1414,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2440,31 +2440,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2472,7 +2472,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3558,37 +3558,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -3598,7 +3598,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
index 739933287a..ffb28cfe5d 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
@@ -1345,31 +1345,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1377,7 +1377,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2403,31 +2403,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2435,7 +2435,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3521,37 +3521,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -3561,7 +3561,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/index.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/index.html
index e80cce230a..6e71a211e6 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/index.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/index.html
@@ -1320,31 +1320,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1352,7 +1352,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2379,31 +2379,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2411,7 +2411,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
diff --git a/tp/tests/layout/res_parser/formatting_inline_css/formatting.html 
b/tp/tests/layout/res_parser/formatting_inline_css/formatting.html
index 46a4132807..165e120739 100644
--- a/tp/tests/layout/res_parser/formatting_inline_css/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_inline_css/formatting.html
@@ -1297,31 +1297,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg" 
style="margin-left: 3.2em">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg" 
style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg" 
style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX" style="margin-left: 3.2em">
+<div class="example user-something-é-TeX" style="margin-left: 3.2em">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--" style="margin-left: 3.2em">
+<div class="example user-@-at-the-end-of-line--" style="margin-left: 3.2em">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1329,7 +1329,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty" style="margin-left: 3.2em">
+<div class="example user-nonempty" style="margin-left: 3.2em">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2356,31 +2356,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg" 
style="margin-left: 3.2em">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg" 
style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg" 
style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX" style="margin-left: 3.2em">
+<div class="example user-something-é-TeX" style="margin-left: 3.2em">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--" style="margin-left: 3.2em">
+<div class="example user-@-at-the-end-of-line--" style="margin-left: 3.2em">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2388,7 +2388,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty" style="margin-left: 3.2em">
+<div class="example user-nonempty" style="margin-left: 3.2em">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3471,31 +3471,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg" 
style="margin-left: 3.2em">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg" 
style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg" 
style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX" style="margin-left: 3.2em">
+<div class="example user-something-é-TeX" style="margin-left: 3.2em">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--" style="margin-left: 3.2em">
+<div class="example user-@-at-the-end-of-line--" style="margin-left: 3.2em">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3503,7 +3503,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty" style="margin-left: 3.2em">
+<div class="example user-nonempty" style="margin-left: 3.2em">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4529,31 +4529,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg" style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg" 
style="margin-left: 3.2em">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg" 
style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg" 
style="margin-left: 3.2em">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX" style="margin-left: 3.2em">
+<div class="example user-something-é-TeX" style="margin-left: 3.2em">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--" style="margin-left: 3.2em">
+<div class="example user-@-at-the-end-of-line--" style="margin-left: 3.2em">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4561,7 +4561,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty" style="margin-left: 3.2em">
+<div class="example user-nonempty" style="margin-left: 3.2em">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5647,37 +5647,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg" style="margin-left: 3.2em">
+</pre><div class="example user-first-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg" style="margin-left: 3.2em">
+</pre><div class="example user-first-arg user-second-arg" style="margin-left: 
3.2em">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg" style="margin-left: 
3.2em">
+</pre><div class="example user-first-arg user-second-arg user-third-arg" 
style="margin-left: 3.2em">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg" 
style="margin-left: 3.2em">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg" 
style="margin-left: 3.2em">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg" style="margin-left: 3.2em">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX" style="margin-left: 3.2em">
+</pre><div class="example user-something-é-TeX" style="margin-left: 3.2em">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--" style="margin-left: 3.2em">
+</pre><div class="example user-@-at-the-end-of-line--" style="margin-left: 
3.2em">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5687,7 +5687,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty" style="margin-left: 3.2em">
+</pre><div class="example user-nonempty" style="margin-left: 3.2em">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html 
b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
index 5bd6e0a5b1..6d99095a03 100644
--- a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
@@ -1333,31 +1333,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1365,7 +1365,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2390,31 +2390,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2422,7 +2422,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3503,31 +3503,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3535,7 +3535,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4559,31 +4559,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4591,7 +4591,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5675,37 +5675,37 @@ TeX LaTeX \bullet{} \copyright{} \dots{} \dots{} 
\equiv{}
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5715,7 +5715,7 @@ TeX LaTeX \bullet{} \copyright{} \dots{} \dots{} \equiv{}
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_nodes/chapter.html 
b/tp/tests/layout/res_parser/formatting_nodes/chapter.html
index 739933287a..ffb28cfe5d 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/chapter.html
@@ -1345,31 +1345,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1377,7 +1377,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2403,31 +2403,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2435,7 +2435,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3521,37 +3521,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -3561,7 +3561,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_nodes/index.html 
b/tp/tests/layout/res_parser/formatting_nodes/index.html
index e80cce230a..6e71a211e6 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/index.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/index.html
@@ -1320,31 +1320,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1352,7 +1352,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2379,31 +2379,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2411,7 +2411,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
diff --git 
a/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.html 
b/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.html
index 23a5ebc3ae..06d639b1f5 100644
--- a/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.html
@@ -1325,31 +1325,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1357,7 +1357,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2384,31 +2384,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2416,7 +2416,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3499,31 +3499,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3531,7 +3531,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4557,31 +4557,31 @@ i&#8211;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4589,7 +4589,7 @@ i&#8211;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5675,37 +5675,37 @@ error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &#233; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5715,7 +5715,7 @@ error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git 
a/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html 
b/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
index 8e67d9306c..35424a7967 100644
--- a/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
+++ b/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
@@ -1325,31 +1325,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1357,7 +1357,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2383,31 +2383,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2415,7 +2415,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3475,31 +3475,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3507,7 +3507,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4592,37 +4592,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -4632,7 +4632,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
@@ -5749,31 +5749,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -5781,7 +5781,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
diff --git a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html 
b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
index feb3195d55..887054994f 100644
--- a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
@@ -1325,31 +1325,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1357,7 +1357,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2384,31 +2384,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2416,7 +2416,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3499,31 +3499,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3531,7 +3531,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4557,31 +4557,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4589,7 +4589,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5675,37 +5675,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5715,7 +5715,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">
diff --git a/tp/tests/layout/res_parser/formatting_xhtml/formatting.html 
b/tp/tests/layout/res_parser/formatting_xhtml/formatting.html
index 83102d0aeb..1831b00914 100644
--- a/tp/tests/layout/res_parser/formatting_xhtml/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_xhtml/formatting.html
@@ -1325,31 +1325,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -1357,7 +1357,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -2384,31 +2384,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -2416,7 +2416,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -3499,31 +3499,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -3531,7 +3531,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -4557,31 +4557,31 @@ i&ndash;tem 1
    text
 </pre></div>
 
-<div class="example first-arg">
+<div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 
-<div class="example first-arg second-arg">
+<div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg">
+<div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 
-<div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+<div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 
-<div class="example something-é-TeX">
+<div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 
-<div class="example @-at-the-end-of-line--">
+<div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 
@@ -4589,7 +4589,7 @@ i&ndash;tem 1
 <pre class="example-preformatted">example with empty args
 </pre></div>
 
-<div class="example nonempty">
+<div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 
@@ -5675,37 +5675,37 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg">
+</pre><div class="example user-first-arg">
 <pre class="example-preformatted">example one arg
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg">
+</pre><div class="example user-first-arg user-second-arg">
 <pre class="example-preformatted">example two args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg">
 <pre class="example-preformatted">example three args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg">
 <pre class="example-preformatted">example four args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example first-arg second-arg third-arg fourth-arg fifth-arg">
+</pre><div class="example user-first-arg user-second-arg user-third-arg 
user-fourth-arg user-fifth-arg">
 <pre class="example-preformatted">example five args
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example something-é-TeX">
+</pre><div class="example user-something-é-TeX">
 <pre class="example-preformatted">The something &eacute; TeX is here.
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example @-at-the-end-of-line--">
+</pre><div class="example user-@-at-the-end-of-line--">
 <pre class="example-preformatted">A @ at the end of the @example line.
 </pre></div>
 <pre class="example-preformatted">
@@ -5715,7 +5715,7 @@ error&rarr; &rarr; - &lowast; -| &rArr;
 </pre></div>
 <pre class="example-preformatted">
 
-</pre><div class="example nonempty">
+</pre><div class="example user-nonempty">
 <pre class="example-preformatted">example with empty and non empty args mix
 </pre></div>
 <pre class="example-preformatted">



reply via email to

[Prev in Thread] Current Thread [Next in Thread]