def get_new_vol(old_vol, old_page, new_page_content):
    """Return new volume content by replacing old page with new page in old volume

    Args:
        old_vol (str): old base text
        old_page (str): old page content
        new_page_content (str): new page content

    Returns:
        str: new base text
    """
    old_page = old_page.strip()
    new_page = new_page_content.strip()
    new_vol = old_vol.replace(old_page, new_page)
    return new_vol