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)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Mar 2019 19:09:17 +0000 (19:09 +0000)
commite64fb90311a9f2b37b49fc670962089cbb3d32de
tree3b2b481e9a2feafe47f5d5694bb47142c60b83b5
parent478f2392ce7b7cedd4f1c93ed3c64800a16a425b
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>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl