I have two strings I’m outputting to a page What I’d like to do is turn them into this I’m essentially trying to replicate the css equivalent of first-child and last-child, but I have to physically add them to the tags as I cannot use CSS. The strings are part of a MPDF document and nth-child is not supported on