Open matjones opened 3 weeks ago
see if this works ...
{{ tag('p', { text: craft.lorem.p(1) } }}
The will wrap the entire 2 paragraphs in one paragraph tag, instead of what I would expect, wrapping each paragraph in its own paragraph tag.
Regards
Mat Jones
BIBLIOPOLIS
@.***
1 (603) 965-3148
---- On Thu, 31 Oct 2024 15:33:20 -0500 Leo Leoncio @.***> wrote ---
see if this works ...
{{ tag('p', { text: craft.lorem.p(1) } }}
— Reply to this email directly, https://github.com/leowebguy/lorem-ipsum/issues/1#issuecomment-2450765783, or https://github.com/notifications/unsubscribe-auth/AAAWT2IJNF6ODWA3QAR6AA3Z6KHZBAVCNFSM6AAAAABQ7AB2RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJQG43DKNZYGM. You are receiving this because you authored the thread.
interesting... this an extended method from another package, https://github.com/joshtronic/php-loremipsum
{{ craft.lorem.p(2,'p') }}
This html encodes the paragraph tags and prevents proper display.