You are here

function _geshifilter_brackets in GeSHi Filter for syntax highlighting 5.2

4 calls to _geshifilter_brackets()
_geshifilter_codefilter_conflicts in ./geshifilter.conflicts.inc
conflict detection for codefilter
_geshifilter_filter_tips in ./geshifilter.filtertips.inc
Implementation for geshifilter_filter_tips()
_geshifilter_general_highlight_tags_settings in ./geshifilter.admin.inc
Helper function for some settings form fields usable as general and specific settings
_geshifilter_prepare in ./geshifilter.pages.inc
geshifilter_filter callback for preparing input text.

File

./geshifilter.inc, line 176

Code

function _geshifilter_brackets($format = NULL) {
  if (!geshifilter_use_format_specific_options() || $format === NULL) {
    return variable_get('geshifilter_brackets', GESHIFILTER_BRACKETS_BOTH);
  }
  return variable_get("geshifilter_brackets_{$format}", _geshifilter_brackets());
}