Bug 31393: Koha::Config: handle the special case for 'content' attribute
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 26 Jun 2023 13:25:12 +0000 (15:25 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 30 Oct 2023 12:02:17 +0000 (09:02 -0300)
commit6973625e7a06e66ee731ea8f5b69f296943c580f
treeaa353ad5cafe2d647f2c14808e7df75ab750b4ec
parentb0a8372c2f5eec6dd1671c0557bb82e3a71436db
Bug 31393: Koha::Config: handle the special case for 'content' attribute

<key content="value"></key>

was wrongly parsed as

{ key => 'value' }

whereas it should be

{ key => { content => 'value' } }

The 'content' attribute is used in shibboleth config

Test plan:
1 Run `prove t/Koha/Config.t`

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Config.pm
t/Koha/Config.t
t/data/koha-conf.xml