src/MarkdownIt/RulesBlock/StateBlock.php
public function skipSpacesBack($pos, $min)
    {
        
        if ($pos <= $min) { return $pos; }

        while ($pos > $min) {
            if (!$this->md->utils->isSpace($this->src[--$pos])) { return $pos + 1; }
        }
        return $pos;
    }
public function skipSpacesBack($pos, $min)
    {
        
        if ($pos <= $min) { return $pos; }

        while ($pos > $min) {
            if (!$this->md->utils->isSpace($this->src[--$pos])) { return $pos + 1; }
        }
        return $pos;
    }
public function skipSpacesBack ( $ pos , $ min ) { if ( $ pos <= $ min ) { return $ pos ; } while ( $ pos > $ min ) { if ( ! $ this -> md -> utils -> isSpace ( $ this -> src [ -- $ pos ] ) ) { return $ pos + 1 ; } } return $ pos ; }
Skip spaces from given position in reverse.
@param integer $pos
@param integer $min
@return integer
Skip spaces from given position in reverse .