def modify(self, current_modified_line, anchors, file_path, file_lines=None,
               index=None):
        """
        Removes the trailing AnchorHub tag from the end of the line being
        examined.

        :param current_modified_line: string representing the the line at
            file_lines[index] _after_ any previous modifications from other
            WriterStrategy objects
        :param anchors: Dictionary mapping string file paths to inner
            dictionaries. These inner dictionaries map string AnchorHub tags
            to string generated anchors
        :param file_path: string representing the file_path of the current
            file being examined by this WriterStrategy
        :param file_lines: List of strings corresponding to lines in a text file
        :param index: index of file_lines corresponding to the current line
        :return: string. A version of current_modified_line that has the
            AnchorHub tag removed from the end of it
        """
        open_wrapper_index = current_modified_line.rfind(self._open)
        # '- 1' removes trailing space. May want to modify to completely
        # strip whitespace at the end, instead of only working for a single
        # space
        return current_modified_line[:open_wrapper_index - 1] + "\n"
Removes the trailing AnchorHub tag from the end of the line being
        examined.

        :param current_modified_line: string representing the the line at
            file_lines[index] _after_ any previous modifications from other
            WriterStrategy objects
        :param anchors: Dictionary mapping string file paths to inner
            dictionaries. These inner dictionaries map string AnchorHub tags
            to string generated anchors
        :param file_path: string representing the file_path of the current
            file being examined by this WriterStrategy
        :param file_lines: List of strings corresponding to lines in a text file
        :param index: index of file_lines corresponding to the current line
        :return: string. A version of current_modified_line that has the
            AnchorHub tag removed from the end of it