Module:Step vis: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 42: | Line 42: | ||
of a 4-digit code point is 8 characters long, so removing the last box-drawing character means | of a 4-digit code point is 8 characters long, so removing the last box-drawing character means | ||
removing the last 8 characters representing it, between indices -1 and -9 | removing the last 8 characters representing it, between indices -1 and -9 | ||
- This removes the double centre border at the end if the second-to-last and last steps are both 0 | - This removes the double centre border at the end if the second-to-last and last steps are both 0. | ||
]]-- | ]]-- | ||
step_visualization = string.sub(step_visualization, 1, -9) | step_visualization = string.sub(step_visualization, 1, -9) | ||