Limit characters AND strip tags in excerpts
I have a problem with the excerpts when jobs are formattet with html.
It destroy the layout. So I decided to combine the character limit with a strip_tags like:
<?php echo substr(get_the_excerpt(), 0,180); ?> && <?php echo strip_tags(get_the_excerpt());?>
Unfortunately it does not work this way because it ignore the first function of character limit.I tried several different ways but it's all the same.
What I am doing wrong? I'm thankful if you could please help me in this case (-: