-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
5.9.7
-
Severity 3 - Minor
-
When migrating pages from another Wiki using the REST API it was found that internal page anchors were not always working.
An example of this seems to be:
<a href="#A_1.3">Link to other section</a> My text Other section <a name="A_1.3"></a>
Additional example found today but with a colon
<a href="#Ensure_that_the_transaction_manager_is_reference_for_all_64Transactional_in_the_services_layer:"> Ensure that the transaction manager is reference for all @Transactional in the services layer: </a>
<h2><a name="Ensure_that_the_transaction_manager_is_reference_for_all_64Transactional_in_the_services_layer:"></a> Ensure that the transaction manager is reference for all @Transactional in the services layer: </h2>
The <a href> tag seems to be included correctly but the <a name> seems to be stripped down to an <a></a>.
As there was code to do the migration the workaround was to convert the full stops to an underscore. These then migrated across correctly.