Set the QuotedPrintable dot escaper preference.

@param bool $dotEscape

@return $this
9929
public function setQPDotEscape($dotEscape)
    {
        $dotEscape = !empty($dotEscape);
        Swift_DependencyContainer::getInstance()
            ->register('mime.qpcontentencoder')
            ->asNewInstanceOf('Swift_Mime_ContentEncoder_QpContentEncoder')
            ->withDependencies(['mime.charstream', 'mime.bytecanonicalizer'])
            ->addConstructorValue($dotEscape);

        return $this;
    }
1080799
public function setPunctuationReplacements($replacements)
        {
            if(!is_array($replacements)) {
                throw new \Thin\Exception(__METHOD__ . ': method expects a keyed array as argument.', 500);
            }
            foreach($replacements as $key => $value) {
                $this->punctuation[$key] = $value;
            }
            return $this;
        }
722414
public function setEscape(string $escape): self
    {
        if ($escape === $this->escape) {
            return $this;
        }

        if ('' === $escape || 1 === strlen($escape)) {
            $this->escape = $escape;
            $this->resetProperties();

            return $this;
        }

        throw new Exception(sprintf('%s() expects escape to be a single character or the empty string %s given', __METHOD__, $escape));
    }
1239299
public function escape($enabled = true)
    {
        if (!is_bool($enabled)) {
            return false;
        }
        $this->setConfig('escape', $enabled);
        Configure::write('Altair.escape', $this->getConfig('escape'));
        return true;
    }
817615
public function setContentTags($openTag, $closeTag, $escaped = false)
    {
        return $this->container['blade.compiler']->setContentTags($openTag, $closeTag, $escaped);
    }
40988
public function setMarkerStyle($value)
	{
	    if ( $this->jsWriter instanceOf \Altamira\JsWriter\Ability\Lineable ) {
	        $this->jsWriter->setSeriesMarkerStyle( $this->getTitle(), $value );
	    }
	    return $this;
	}
669559
public function unescape()
    {
        $this->string = strtr($this->string, array_flip(Teamspeak::getEscapePatterns()));

        return $this;
    }
663344
public function setQuotePrefix($pValue)
    {
        if ($pValue == '') {
            $pValue = false;
        }
        if ($this->isSupervisor) {
            $styleArray = array('quotePrefix' => $pValue);
            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);
        } else {
            $this->quotePrefix = (boolean) $pValue;
        }
        return $this;
    }
646529
public function setEscapeTags($openTag, $closeTag, $escaped = true)
    {
        $this->escapedTags = [preg_quote($openTag), preg_quote($closeTag)];
    }
1232059
public function value()
    {
        $escape = isset($this->default["escape-values"])
            ? $this->default["escape-values"]
            : true;

        return $escape
            ? $this->getEscapedValue()
            : $this->getRawValue();
    }
157412
public function setValue($path, $value, $escapeValue = true)
    {
        if (!$escapeValue) {
            $placeholder = uniqid('ivory', true);
            $this->escapes[sprintf('"%s"', $placeholder)] = $value;

            $value = $placeholder;
        }

        $this->values[$path] = $value;

        return $this;
    }
1089155
protected function setEscapeCallable($escapeFunction)/*# : callable */
    {
        if (!is_callable($escapeFunction)) {
            $this->escape = function ($v) {
                if (is_numeric($v) && !is_string($v)) {
                    return $v;
                } else {
                    return "'" . str_replace("'", "\\'", (string) $v) . "'";
                }
            };
        } else {
            $this->escape = $escapeFunction;
        }
        return $this;
    }
227576
def _escape(self, value):
        """"""
        if isinstance(value, SafeString):
            return value

        return shellescape.quote(value)
142341
function SetDefaultFont($font)
	{
		// Disallow embedded fonts to be used as defaults in PDFA
		if ($this->PDFA || $this->PDFX) {
			if (strtolower($font) == 'ctimes') {
				$font = 'serif';
			}
			if (strtolower($font) == 'ccourier') {
				$font = 'monospace';
			}
			if (strtolower($font) == 'chelvetica') {
				$font = 'sans-serif';
			}
		}
		$font = $this->SetFont($font); // returns substituted font if necessary
		$this->default_font = $font;
		$this->original_default_font = $font;
		if (!$this->watermark_font) {
			$this->watermark_font = $font;
		} // *WATERMARK*
		$this->defaultCSS['BODY']['FONT-FAMILY'] = $font;
		$this->cssManager->CSS['BODY']['FONT-FAMILY'] = $font;
	}
766780
public function setFont($font) {

		if(false === is_string($font)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($font)), E_USER_ERROR);
		}

		$file = new File($font);

		if(false === $file -> exists()) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be an existing font', __METHOD__), E_USER_ERROR);
		}

		$this -> font = $file;

		return $this;
	}
212830
private function _escape($value, $htmlEntities = false)
    {
        if (get_magic_quotes_gpc()) {
            if ($htmlEntities) {
                return htmlspecialchars($value);
            }

            return $value;
        }

        if (is_array($value)) {
            return array_map(function ($n) use ($htmlEntities) {
                $val = stripslashes($n);

                if ($htmlEntities) {
                    return htmlspecialchars($val);
                }

                return $val;
            }, $value);
        }
        $val = stripslashes($value);

        if ($htmlEntities) {
            return htmlspecialchars($val);
        }

        return $val;
    }
105095
public function escapeForHtml() {
		$rawString = htmlspecialchars($this->rawString, ENT_QUOTES, $this->charset);

		return new static($rawString, $this->charset);
	}