Skip to content
Snippets Groups Projects
  • Jonathan Schöbel's avatar
    f965156b
    Merge branch 'feature/polymorph-fragment' · f965156b
    Jonathan Schöbel authored
    The transition from a single fragment, which is a tree, to a polymorph
    fragment implemented by a base class (Fragment) and a subclass for
    storing the tree (NodeFragment) and another subclass for storing text
    (TextFragment) is now considered complete.
    What is still missing is the proper treatment of embed text. This should
    be indented and breaked at 72/79/80. Also newlines and special chars
    should be replaced on generation, maybe also giving some way of
    preventing XSS. Regarding the NodeFragment there should be some
    adjustments to further adjust the styling, which of course should also
    be reflected by TextFragment. This should also include the generation of
    self-closing tags. Furthermore the html generation should be based on a
    single text object, to which is added to. This will later on also enable
    to directly send generated parts over the network while still generating
    some data.
    But all this changes are to meant to change the behaviour of existing
    classes, so the will be eventually implemented on seperate branches.
    f965156b
    History
    Merge branch 'feature/polymorph-fragment'
    Jonathan Schöbel authored
    The transition from a single fragment, which is a tree, to a polymorph
    fragment implemented by a base class (Fragment) and a subclass for
    storing the tree (NodeFragment) and another subclass for storing text
    (TextFragment) is now considered complete.
    What is still missing is the proper treatment of embed text. This should
    be indented and breaked at 72/79/80. Also newlines and special chars
    should be replaced on generation, maybe also giving some way of
    preventing XSS. Regarding the NodeFragment there should be some
    adjustments to further adjust the styling, which of course should also
    be reflected by TextFragment. This should also include the generation of
    self-closing tags. Furthermore the html generation should be based on a
    single text object, to which is added to. This will later on also enable
    to directly send generated parts over the network while still generating
    some data.
    But all this changes are to meant to change the behaviour of existing
    classes, so the will be eventually implemented on seperate branches.