Project

General

Profile

Actions

Bug #94353

closed

Importing mailto and tel links

Added by Roman Büchler over 3 years ago. Updated 5 months ago.

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>&lt;a href=&quot;tel:###ppCustomerContactPhone###&quot;&gt;</matchString>
                    <subst type="array">
                        <type>string</type>
                        <tokenID>ab2fb0e6ec563e974121ea62e58d9e35</tokenID>
                        <tokenValue>###ppCustomerContactPhone###</tokenValue>
                    </subst>
                </softref_element>
                <softref_element index="3" type="array">
                    <matchString>&lt;a href=&quot;mailto:###ppCustomerContactEmail###&quot;&gt;</matchString>
                    <subst type="array">
                        <type>string</type>
                        <tokenID>cdd572aa4a5cb7397564833359594c62</tokenID>
                        <tokenValue>###ppCustomerContactEmail###</tokenValue>
                    </subst>
                </softref_element>
            </softref_key>
        </keys>
        <tokenizedContent>&lt;h2&gt;###ppCustomerCompany###&lt;/h2&gt;
            &lt;p&gt;###ppCustomerContactAddress###&lt;br /&gt; ###ppCustomerContactZip### ###ppCustomerContactCity###&lt;/p&gt;
            &lt;p&gt;Telefon: &lt;a href=&quot;{softref:ab2fb0e6ec563e974121ea62e58d9e35}&quot;&gt;###ppCustomerContactPhone###&lt;/a&gt;&lt;br /&gt; Email: &lt;a href=&quot;{softref:cdd572aa4a5cb7397564833359594c62}&quot;&gt;###ppCustomerContactEmail###&lt;/a&gt;&lt;/p&gt;</tokenizedContent>
    </softrefs>
</field>


Related issues 1 (1 open0 closed)

Is duplicate of TYPO3 Core - Bug #91734: RTE: Wrong href value after importNew2020-07-01

Actions
Actions

Also available in: Atom PDF