private static String getTextOfFather(Element element) {
        String innerHTML = element.html();

        Pattern p = OPENING_BLOCK_TAG;
        Matcher m = p.matcher(innerHTML);

        if (!m.find()) {
            try {
                // System.out.println("textTillStartOfNextBlock not found");
                throw new Exception("get Text Of Father: Error");
            } catch (Exception exception) {
                System.out.println(exception);
            }
        }

        int start = m.start() - 1;
        int end = element.html().length();

        if (start < 0) // nothing has been found. Malformed document.
        {
            while (element.isBlock()) {
                if (element.children().isEmpty()) {
                    break;
                }
                element = element.child(0);
            } // End while

            return element.html();
        }
        String stringToReturn = innerHTML.substring(0, start).trim();
        String html = innerHTML.substring(start, end);
        element.html(html);
        return stringToReturn;
    }