I inserted the following code into a textfield of Visual Composer
[toggle_block class="bordered Multiple"]
[toggle title="Google Analytics"]
1. <a href="http://www.google.com/analytics/terms/de.html" target="_blank">Allgemeine Nutzungsbedingungen von Google Analytics</a>
2. <a href="javascript:gaOptout()">Google Analytics deaktivieren</a>
[/toggle]
[/toggle_block]
When I then save and open the page, the first link works, the second link doesnt work. I open the editor again and see that my code was automatically modified to:
[toggle_block class="bordered Multiple"]
[toggle title="Google Analytics"]
1. <a href="http://www.google.com/analytics/terms/de.html" target="_blank">Allgemeine Nutzungsbedingungen von Google Analytics</a>
2. <a>Google Analytics deaktivieren</a>
[/toggle]
[/toggle_block]
means that the part href="javascript:gaOptout()"
was just deleted.
Many thanks in advance!