|
@@ 1609-1614 (lines=6) @@
|
| 1606 |
|
|
| 1607 |
|
$space[2] = $this->copy_skip($this->token_blank); |
| 1608 |
|
switch ($this->char) { |
| 1609 |
|
case '"': |
| 1610 |
|
$node->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_DOUBLE; |
| 1611 |
|
$this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next |
| 1612 |
|
$node->attr[$name] = $this->restore_noise($this->copy_until_char_escape('"')); |
| 1613 |
|
$this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next |
| 1614 |
|
break; |
| 1615 |
|
case '\'': |
| 1616 |
|
$node->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_SINGLE; |
| 1617 |
|
$this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next |
|
@@ 1615-1620 (lines=6) @@
|
| 1612 |
|
$node->attr[$name] = $this->restore_noise($this->copy_until_char_escape('"')); |
| 1613 |
|
$this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next |
| 1614 |
|
break; |
| 1615 |
|
case '\'': |
| 1616 |
|
$node->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_SINGLE; |
| 1617 |
|
$this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next |
| 1618 |
|
$node->attr[$name] = $this->restore_noise($this->copy_until_char_escape('\'')); |
| 1619 |
|
$this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next |
| 1620 |
|
break; |
| 1621 |
|
default: |
| 1622 |
|
$node->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_NO; |
| 1623 |
|
$node->attr[$name] = $this->restore_noise($this->copy_until($this->token_attr)); |