Implementation of PRePTagNBSP

    This is a subclass of PRePTagCode which defines the NBSP tag. It gets the first argument and changes the whitespaces there with an HTML " ". If there is a second argument it should be an integer and represents the number of " " which should replace the tabs in the first argument ('\t').

    Constructor:

    PRePTagNBSP()
    names the tag "NBSP"

    Methods:

    compile(Session)
    replaces the whitespaces and the tabs with a HTML " "

    Related sites:
How the NBSP Tag works
Back