function Text_Diff_Renderer_parallel::_renderLines in Coder 7
Same name and namespace in other branches
- 6.2 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_renderLines()
- 6 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_renderLines()
- 7.2 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_renderLines()
4 calls to Text_Diff_Renderer_parallel::_renderLines()
- Text_Diff_Renderer_parallel::_added in scripts/
coder_format/ tests/ CoderTestFile.php - Text_Diff_Renderer_parallel::_changed in scripts/
coder_format/ tests/ CoderTestFile.php - Text_Diff_Renderer_parallel::_context in scripts/
coder_format/ tests/ CoderTestFile.php - Text_Diff_Renderer_parallel::_deleted in scripts/
coder_format/ tests/ CoderTestFile.php
File
- scripts/
coder_format/ tests/ CoderTestFile.php, line 216 - Set of tests for the coder_format script.
Class
- Text_Diff_Renderer_parallel
- Parallel diff renderer for HTML tables with original text on left, new text on right, and changed text highlighted with appropriate classes.
Code
function _renderLines($lines) {
return str_replace("\n", "<strong>¶</strong>\n", htmlspecialchars(implode("\n", $lines) . "\n"));
}