Actions
Bug #94353
closedImporting mailto and tel links
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
-
Start date:
2021-06-16
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When exporting a page tree with mailto and tel links the mailto: and tel: prefix in the href attribute are removed upen importing the page tree.
Content before exporting:
<p>Telefon: <a href="tel:###ppCustomerContactPhone###">###ppCustomerContactPhone###</a><br />
Email: <a href="mailto:###ppCustomerContactEmail###">###ppCustomerContactEmail###</a></p>
Content after importing:
<p>Telefon: <a href="###ppCustomerContactPhone###">###ppCustomerContactPhone###</a><br />
Email: <a href="###ppCustomerContactEmail###">###ppCustomerContactEmail###</a></p>
The exported xml-data looks fine:
<field index="bodytext" type="array">
<softrefs type="array">
<keys type="array">
<softref_key index="typolink_tag" type="array">
<softref_element index="1" type="array">
<matchString><a href="tel:###ppCustomerContactPhone###"></matchString>
<subst type="array">
<type>string</type>
<tokenID>ab2fb0e6ec563e974121ea62e58d9e35</tokenID>
<tokenValue>###ppCustomerContactPhone###</tokenValue>
</subst>
</softref_element>
<softref_element index="3" type="array">
<matchString><a href="mailto:###ppCustomerContactEmail###"></matchString>
<subst type="array">
<type>string</type>
<tokenID>cdd572aa4a5cb7397564833359594c62</tokenID>
<tokenValue>###ppCustomerContactEmail###</tokenValue>
</subst>
</softref_element>
</softref_key>
</keys>
<tokenizedContent><h2>###ppCustomerCompany###</h2>
<p>###ppCustomerContactAddress###<br /> ###ppCustomerContactZip### ###ppCustomerContactCity###</p>
<p>Telefon: <a href="{softref:ab2fb0e6ec563e974121ea62e58d9e35}">###ppCustomerContactPhone###</a><br /> Email: <a href="{softref:cdd572aa4a5cb7397564833359594c62}">###ppCustomerContactEmail###</a></p></tokenizedContent>
</softrefs>
</field>
Actions