mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-08 12:01:32 -04:00

Under certain conditions, `howSimilarString` could reach a divide-by- zero situation which causes bogus values to print in the cache potential column of the template hints output. This situation essentially causes a `int(math.NaN())` value to be returned and hilarity ensues thereafter.