Skip to content
  • Eloy Lafuente's avatar
    MDL-65635 forum: add_discussion_post() format support changes · f2eb04c1
    Eloy Lafuente authored
    While keeping BC as possible (format will be saved as FORMAT_HTML
    as default and content not modified), this commit includes these
    changes:
    
    - A new parameter 'messageformat', defaults to FORMAT_HTML.
    - A new option 'tohtml', enabling the function to convert content
      in other formats to FORMAT_HTML before saving them.
    f2eb04c1