mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Since the Selenium images are available for download, and downloading them is usually faster than building them from scratch, this makes taking screenshots easier. Furthermore, since the Selenium image is not specific to KaTeX, it could as well be used for other purposes, thus saving space since a single image can be used in multiple projects. This change also deals with the non-determinism in the Lap screenshot: We detect the one known (and accepted) alternate rendering and change the output file name to Lap_alt in this case. So either Lap or Lap_alt gets saved to, and if the image is different from both, then one of these files will show a modification. On the other hand, if it is equal to either of these, then the matching one will get overwritten, showing no change.