From df5bd260eba2190cad3a038d878334428203a462 Mon Sep 17 00:00:00 2001 From: grubert Date: Sun, 2 Apr 2006 14:42:06 +0000 Subject: [PATCH] A new role neither based on some old nor with class. git-svn-id: https://docutils.svn.sourceforge.net/svnroot/docutils/trunk/docutils@4492 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- test/functional/expected/standalone_rst_html4css1.html | 3 +++ test/functional/input/data/custom_roles.txt | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/test/functional/expected/standalone_rst_html4css1.html b/test/functional/expected/standalone_rst_html4css1.html index d5cbefa4a..911beaa56 100644 --- a/test/functional/expected/standalone_rst_html4css1.html +++ b/test/functional/expected/standalone_rst_html4css1.html @@ -969,6 +969,9 @@ crunchy, now would it?
  • A role based on an existing role.

    one two three

  • +
  • A new role.

    +

    one two three

    +
  • A role with class attribute.

    interpreted text

  • diff --git a/test/functional/input/data/custom_roles.txt b/test/functional/input/data/custom_roles.txt index 3a94098fc..c80b3587f 100644 --- a/test/functional/input/data/custom_roles.txt +++ b/test/functional/input/data/custom_roles.txt @@ -7,6 +7,12 @@ Custom Roles :custom:`one` :custom:`two` :custom:`three` +* A new role. + + .. role:: customnew + + :customnew:`one two three` + * A role with class attribute. .. role:: customclass -- 2.11.4.GIT