Open vkmel opened 6 years ago
That is currently not possible. Feel free to fork and add this feature. Alternatively, you could wrap the obfuscator in some div like so:
<div class="no-underline">
<?= \pfarrer\yii2\email\Obfuscator::widget([
'email' => 'mail@example.com',
]) ?>
</div>
Than you can refer to the a
in CSS like so: div.no-underline > a { .. }
How to pass a custom class for the generated anchor tag? for example
<a class="no-underline">