I've got an Poco F1 with LineageOS. On this device, at least since LOS 20 (Android13), Tasker notifications don't expand completely. I'm now on LOS 22 (Android 15)
I can create a notification with the following task.
Task: Testnotlength
A1: Notify [
Title: Tesnotification
Text: 1
2
3
4
Icon: mw_action_account_balance_wallet
Number: 0
Priority: 3
LED Colour: Red
LED Rate: 0
Category: Tasker
Group: testgroup ]
The notification can only be expanded to two rows, see screenshot.