For all lines following the Line Marker in a window, the $line identifier returns stripped text. However, for lines above the Line Marker, the $line identifier returns all formatting correctly.

This bug happens regardless of whether the Line Marker is hidden or visible.