How to ignore extra whitespaces in translation functions like _e?
I am passing few big strings in my code for translation to _e(). These strings were earlier broken into multiple lines with few leading white spaces before every line to maintain indentation readability. And since HTML ignore extra white spaces, it doesn't affect anything. But now, on passing these strings through _e(), these white spaces are also added in the string added for translation in POT file. How can I prevent these white spaces to be added for translation without removing them from code?
Topic xgettext localization translation plugin-development plugins Wordpress
Category Web