 This study aimed to explore the potential of integrating a computer mathematics system, SageMath, into a learning support system, Moodle. To achieve this goal, a text filter was designed and implemented to allow students to execute SageMath commands on an external SageMath cell server while viewing the results at Moodle pages without reloading. Additionally, the filter was designed to prevent cross-site scripting, XSS, attacks. Finally, the software engineering process for developing the filter is described. This article was authored by E. O. Moodle and S. O. Samerikov.