Skip to content

Commit

Permalink
Merge pull request #93 from bdecentgmbh/dev
Browse files Browse the repository at this point in the history
Merge to master for release
  • Loading branch information
stefanscholz authored Oct 9, 2023
2 parents e2cd35f + ad26af7 commit 95f57e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion classes/local/data_grid/data/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ public function get_name() {
* @return mixed|string
*/
public function get_value() {
return format_text($this->value, FORMAT_HTML);
if (!filter_var($this->value, FILTER_VALIDATE_URL)) {
return format_text($this->value, FORMAT_HTML);
}
return $this->value;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2023090800; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2023091300; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2021051700; // Requires this Moodle version.
$plugin->component = 'block_dash'; // Full name of the plugin (used for diagnostics).
$plugin->maturity = MATURITY_STABLE;
Expand Down

0 comments on commit 95f57e3

Please sign in to comment.