code: @Override
      protected String prepareContent(boolean save) {
  
          String content = getParamContent().trim();
          // ensure all chars in the content are valid for the selected encoding
          content = CmsEncoder.adjustHtmlEncoding(content, getFileEncoding());
          if (!save) {
              setParamContent(content);
          }
          return content;
      }
docs: Manipulates the content String and removes leading and trailing white spaces.<p>
  
  @param save if set to true, the content parameter is not updated
  @return the prepared content String