Details
-
Bug
-
Resolution: Fixed
-
Major
-
9.2.3
-
None
-
None
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Less-than symbols ("<") in code blocks get turned into
<
and greater-than symbols (">") get turned into >. I didn't test to see what happens to ampersands, but that would also be worth checking!
See screenshots for an example of the "correct" view in Confluence, and how it turns up after import.
The Confluence XML in this case is:
<h2>Example</h2><ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="c163c51f-e70b-48b2-9e2f-ae8c2fd1564c"><ac:parameter ac:name="theme">Eclipse</ac:parameter><ac:plain-text-body><![CDATA[@prefix void: <http://rdfs.org/ns/void#> . @prefix dct: <http://purl.org/dc/terms/> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix rva-vocabs: <http://vocabs.ands.org.au/registry/object/vocabulary/> .# 23 is the "vocab ID" of the vocabulary; NO SLUGS here please! # Homepage: The "homepage" as hosted by RVA, which may not be the "real" homepage # License: CC-BY 4.0 # Feature: see https://www.w3.org/ns/formats/ for list of supported formats; extend the list below # to match what we actually support. # dataDump: 46 is the "access point ID" of a Sesame download access point # vocabulary: SKOS rva-vocabs:23 a void:Dataset ; foaf:homepage <http://vocabs.ands.org.au/viewById/23> ; dct:license <https://creativecommons.org/licenses/by/4.0/> ; void:feature <http://www.w3.org/ns/formats/RDF_XML>, <http://www.w3.org/ns/formats/N-Triples> , <http://www.w3.org/ns/formats/Turtle> , <http://www.w3.org/ns/formats/TriG> ; void:sparqlEndpoint <http://vocabs.ands.org.au/repository/api/sparql/repo_name_goes_here> ; void:dataDump <http://vocabs.ands.org.au/repository/api/download/46/vocab_version_name_goes_here.rdf> ; void:rootResource <http://hostname/topconcept1> ; void:rootResource <http://hostname/topconcept2> ; void:uriLookupEndpoint <http://vocabs.ands.org.au/repository/api/lda/repo/name/here/resource?uri=> ; void:vocabulary <http://www.w3.org/2004/02/skos/core#> ; .]] ></ac:plain-text-body></ac:structured-macro>