Bug 21130: Prevent HTML class from being translated
authorDavid Bourgault <dav.bour@gmail.com>
Fri, 27 Jul 2018 21:13:42 +0000 (17:13 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 25 Mar 2019 15:02:47 +0000 (15:02 +0000)
commit84787c1eee9db11f779273ba5f83ddd4d8f91efb
tree1a7d8d1c3b88a1338382c7bfa481c7cf040ec634
parent2712e1ee55208332db4ec01310f58b8fa0b882c6
Bug 21130: Prevent HTML class from being translated

Adds a xsl:value-of tag to prevent the value from being translated.

TEST PLAN
0) Apply patch
1) Translate
2) In the opac, div.record has not changed

NOTE:
I don't know if this bug affects all translations, I noticed it when translating to fr-CA.
The fix will work for all languages.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e64fb90311a9f2b37b49fc670962089cbb3d32de)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl