Learn R Programming

AnalysisPageServer (version 1.6.2)

ignore.lots.of.stuff: ignore.lots.of.stuff

Description

Transformer for ignoring id, class, type and some whitespace

Usage

ignore.lots.of.stuff(lines)

Arguments

lines
Character vector of lines from the SVG file.

Value

Character vector. Same lines, with id and class tags transformed.

Details

This transformer strips all id, class and type tags, with one preceding space, from the SVG lines.

It also ignores what it thinks is space between tags, namely >\s+<

This is meant primary as an argument for transformer in check.same.svgs.

Not exported---you should fully qualify it with AnalysisPageServer:::ignore.lots.of.stuff if you want to use it.

All the lines will be concatenated, too, into a single character string.

See Also

check.same.svgs