I'm using Drupal Bootstrap. Mail (password reset, user blocked etc..) from admin sends messages without preserving line breaks.

I tried this to fix this issue, but THEME_preprocess_field(&$vars, $hook) doesn't work for me.

  • 1
    Might be stating the obvious but did you change THEME_ to your actual theme name? Commented Dec 31, 2014 at 21:50
  • Welcome to Drupal Answers! Did you also clear the cache?
    – apaderno
    Commented Dec 31, 2014 at 23:57
  • Yes, I cleared cache..
    – Sujith N
    Commented Jan 5, 2015 at 9:19

1 Answer 1


Try with THEME_preprocess_field(&$variables, $hook), replace the &$vars with &$variables

  • Could you indicate why this would solve the problem?
    – Watergate
    Commented Jan 8, 2017 at 0:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.