Oct 12, 2017
0
Level 1
Is there a way to have responsive design and obfuscate text? i.e. sentences and line breaks
I have this span:
<span title='Department'>{!!Html::obfuscate($employee->dept->name)!!}</span>
LaravelCollective/Html::obfuscate randomly switches characters for other things to stop scrapers. It's best used with emails, but there are other things I wish to use it for.
However, when I obfuscate something like this, it doesn't responsively line break when the parent element shrinks.
Is there a better alternative to this that allows for line breaking obfuscated text content?
Please or to participate in this conversation.