InlineContentBuilder();
}
/**
* CSS 2.1 16.6 Whitespace: the 'white-space' property
*
* pre
*
* This value prevents user agents from collapsing sequences of
* whitespace. Lines are only broken at newlines in the source, or
* at occurrences of "\A" in generated content.
*/
function build(&$box, $text, &$pipeline) {
$text = $this->remove_trailing_linefeeds($text);
$lines = $this->break_into_lines($text);
foreach ($lines as $line) {
$box->process_word($line, $pipeline);
$this->add_line_break($box, $pipeline);
};
}
}
?>