fixed the creation of <ul> with 'sed'