private static String lineFlow(String line, boolean insideTable, boolean isALastLine) {
        // TODO : documentation
        if (insideTable == true) {
            if (line.startsWith("|")) {
                line = line.substring(1, line.length());
            }
            if (line.endsWith("|")) {
                line = line.substring(0, line.length() - 1);
            }
            if (line.startsWith("{{עמודות")) {
                return "";
            }
            if (line.startsWith("{{קצרמר}}")) {
                return "{{קצרמר}}";
            }
            if (line.startsWith("{{")) {
                //  return line.substring(2, line.length());
            }
        }
        if (isALastLine == true) {
            if (line.endsWith("}}")) {
                return line.substring(0, line.length() - 2);
            }
        } else {
            if (line.startsWith("{{")) {
                //     return line.substring(2, line.length());
            }
        }
        return line;
    }