Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-53779

get_string and get_strings must use PARAM_RAW instead of PARAM_TEXT

XMLWordPrintable

      Currently the services get_string and get_strings use PARAM_TEXT,
      so when we use string with html tags like this : "Hello <em>Toto</em>" we got this error:

      Invalid external api response: the value is "Hello <em>Toto</em>", the server was expecting "text" type
      Error code: invalidresponse
      

            fred Frédéric Massart
            taboubii Issam Taboubi
            David Monllaó David Monllaó
            Andrew Lyons Andrew Lyons
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.