openHAB-Alignment-Tool icon indicating copy to clipboard operation
openHAB-Alignment-Tool copied to clipboard

< (Less than) symbol in label causes format issues.

Open Hobohome opened this issue 3 years ago • 0 comments

Any Item "label" containing a < (less than) symbol results in strange formatting.

Example Orignal

Number	PV_West_Alert_Power	"Alert When West Max Power < [%dW]"	<solarplant>	(gMapDBpersist,gLogChangesInfo)

After Formatting

Number    PV_West_Alert_Power    "Alert When West Max Power < [%dW]"    <[%dW]"							<solarplant>     (gMapDBpersist,gLogChangesInfo)

Expected

Number		PV_West_Alert_Power					"Alert When West Max Power < [%dW]"							<solarplant>			(gMapDBpersist,gLogChangesInfo)

I think the formatter should ignore all symbols within quotes.

Many thanks

Hobohome avatar Sep 28 '22 04:09 Hobohome