HF RL Explorer

Tab expansion and text processing functions broken

Tab expansion and text processing functions broken: a task in UltraTerminal (Harbor dataset). Several utility functions in mistune/util.py are producing incorrect output. The expand leading tab function is not properly expanding tabs to spaces, and the strip end function is removing too much…

The task

Several utility functions in `mistune/util.py` are producing incorrect output. The `expand_leading_tab` function is not properly expanding tabs to spaces, and the `strip_end` function is removing too much content from strings.

Part of harness-hub/UltraTerminal.