The hanging-punctuation CSS property determines whether a punctuation mark, if one is present, hangs and may be placed outside the line box (or in the indent) at the start or at the end of a line of text.
object.style.hangingPunctuation = "value";
<'hanging-punctuation'> = none | [ first || [ force-end | allow-end ] || last ]
No punctuation character is made to hang.
An opening bracket or quote at the start of the first formatted line of an element hangs.
A stop or comma at the end of a line hangs.
A stop or comma at the end of a line conditionally hangs.
A closing bracket or quote at the end of the last formatted line of an element hangs.