Class MarkDownProcessor

    • Method Detail

      • preProcess

        public static String preProcess​(String source)
        This deals with a painful problem created by the intersection of previous publishing processes and the way commonmark specifies that < is handled in content. For control reasons, the FHIR specification does not allow raw html tags in the markdown This check finds any raw <[x] where [x] is any alpha character, and prepends \ to it so that it renders as a < (e.g. gets escaped in the output HTML) This is public to enable testing (not for direct use otherwise)
        Parameters:
        source -
        Returns: