Commit a996ca97cf3bd2d9f965457dd683b1b3d4923257

Authored by Nathan Broadbent
1 parent 5866b172
Exists in master and in 1 other branch production

Fixed string splitting method

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/errs_helper.rb
... ... @@ -10,7 +10,7 @@ module ErrsHelper
10 10 def trucated_err_message(problem)
11 11 msg = truncate(problem.message, :length => 300)
12 12 # Insert invisible unicode characters so that firefox can emulate 'word-wrap: break-word' CSS
13   - msg.scan(/.{5}/).join("​").html_safe
  13 + msg.scan(/.{1,5}/).join("​").html_safe
14 14 end
15 15 end
16 16  
... ...