jbyard / bitmemes

a simple pixel art web app
Other
0 stars 0 forks source link

long first word bug #10

Open jbyard opened 11 years ago

jbyard commented 11 years ago

caption won't parse correctly when the first word is longer than the line limit. For instance, if the user enters:

"ARRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH"

It'll hang the browser, Ye maties...