There are many lines with tags for example: <p></p><p></p> <p></p>

they are not applied to end </p> with the tag, as at the end of the last line before </p> using php means to insert an ellipsis: ...</p>

  • what's the point of doing this on pkhp if css works well with it? - teran
  • but in general you can find the last entry </p> and replace it with &hellip;</p> - teran

1 answer 1

as an alternative

 p:last-child::after { content: '\2026'; color: red; font-weight: bold; } 
 <div> <p>123</p> <p>234</p> <p>345</p> </div>