I am trying to truncate the characters of some sections that are automatically generated. While I can see that it does the job on the console, it doesn\'t appear on the website