The European Parliament has voted in favor of a piece of legislation updating copyright laws, The Verge reports. Two sections of the legislation — Articles 11 and 13 — are particularly controversial, sparking debate amongst artists, media companies and the tech giants that host their work. Article 11 requires internet companies, like Facebook or Google, to pay newspapers, magazines or news agencies for posting links or previews of their stories. Article 13 holds platforms like YouTube liable for posting copyrighted material. A final approval vote will take place in January 2019, and it is expected to pass. Once approved, each individual member state of the EU will implement it based on its own interpretation of the text.