04-05-2019, 11:50 AM
Original bug report here: https://forum.ss13.co/showthread.php?tid=11623
When you write on a piece of paper, it puts the text inside of a span tag to style it. The template that's used has some extra space characters present. When the you try to use the document scanner, it removes all of the tags, but leaves the extra spaces that were present in the raw document, which adds a leading and trailing space to the file in DWAINE. If you're trying to scan a script file, this will prevent it from running. By removing the extra spaces from the template, this bug is resolved.
Pull request: https://github.com/goonstation/goonstati...6/pull/125
When you write on a piece of paper, it puts the text inside of a span tag to style it. The template that's used has some extra space characters present. When the you try to use the document scanner, it removes all of the tags, but leaves the extra spaces that were present in the raw document, which adds a leading and trailing space to the file in DWAINE. If you're trying to scan a script file, this will prevent it from running. By removing the extra spaces from the template, this bug is resolved.
Pull request: https://github.com/goonstation/goonstati...6/pull/125