סימן קצה סעיף ט
הָרֶגֶל מְבַטֵּל גְּזֵרַת שְׁלֹשִׁים גַּם לְעִנְיַן קְרִיעָה. וְלָכֵן אִם פָּגַע הָרֶגֶל בְּתוֹךְ שְׁלֹשִׁים, בִּשְׁאָר קְרוֹבִים יָכוֹל לִתְפֹּר לְגַמְרֵי בְּעֶרֶב הָרֶגֶל לְאַחַר מִנְחָה. וְעַל אָבִיו וְאִמּוֹ, יָכוֹל לִשְׁלוֹל.
The intervention of a Yom Tov, cancels the thirty day mourning period even in regard to tearing the garments. Therefore if Yom Tov intervenes during the thirty days of mourning for other relatives, the mourner may completely sew up the torn garment after the minchah prayer on the eve of Yom Tov. If he is in mourning for a father or mother, he may stitch together the torn garment.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)