Selective text formatting in Baraha editor

Input:

<lang=eng>Baraha- Indian Language Software<-lang>
baraha- bhAratIya bhAShA taMtraaMsha
<b>baraha- bhAratIya bhAShA taMtraaMsha<-b>
<i>baraha- bhAratIya bhAShA taMtraaMsha<-i>
<u>baraha- bhAratIya bhAShA taMtraaMsha<-u>
<color=blue>baraha- <color=red>bhAratIya bhAShA <color=#FF00FF>taMtraaMsha<-color>
<color=blue|bkcolor=yellow>baraha- <color=yellow|bkcolor=#0000FF>bhAratIya bhAShA <color=#FF00FF|bkcolor=black>taMtraaMsha<-color|-bkcolor>

<size=48>dappa akSharagaLu <size=12>saNNa akSharagaLu.<-size>

<lang=kan|font="BRH Kailasam">kai baraha akShara shaili. <lang=eng|font="Times New Roman">Times New Roman font.
<line>
<left>left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text. left aligned text.

<center>center aligned text.
center aligned text. center aligned text.
center aligned text.

<justify>justified text. justified text. justified text. justified text. justified text. justified text. justified text. justified text. justified text. justified text. justified text. justified text. justified text. justified text. justified text. justified text.
<line>

Output: