alphagov/frontend — comment on commit 7a1b6e4d8f9b8c6492348baba8e14eafa3d1e6e3
File:  line 0
By JordanHatch:

It would be better to do this in the view, but as this needs to go into the Mustache template too, which to my knowledge doesn't have the ability to truncate strings?

On 19 Jan 2012, at 19:55, James Stewart wrote:

> Were you able to replicate the problem with a test? Would be good to get test coverage on this given that we were able to deploy before finding out it was a problem,
>
> That said, might it be better to do this in the view?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/alphagov/frontend/commit/7a1b6e4d8f9b8c6492348baba8e14eafa3d1e6e3#commitcomment-883440